# Delete Article

## Delete Article

<mark style="color:red;">`DELETE`</mark> `https://{{account_id}}.acquire.io/api/v1/kb/article/delete/{{articleId}}?groupId={{groupdId}}`

Delete an article. The id must be passed in the endpoint as a path parameter. The groupId must be passed in the endpoint as a query parameter. Warning: This action cannot be undone.

#### Path Parameters

| Name      | Type    | Description  |
| --------- | ------- | ------------ |
| articleId | integer | Article's ID |

#### Query Parameters

| Name    | Type    | Description                       |
| ------- | ------- | --------------------------------- |
| groupId | integer | The group the article belongs to. |

#### Headers

| Name          | Type   | Description                                                    |
| ------------- | ------ | -------------------------------------------------------------- |
| Authorization | string | Authentication token to track down who is emptying our stocks. |

{% tabs %}
{% tab title="200 Cake successfully retrieved." %}

```
//Archived
{
  "data": {
    "success": true,
    "message": "Article Successfully Archived.",
    "data": {
      "id": 1646
    }
  }
}

//Deleted
{
  "data": {
    "success": true,
    "message": "Article Successfully Deleted.",
    "data": {
      "id": 1647
    }
  }
}
```

{% endtab %}
{% endtabs %}
