# Delete

## Delete

<mark style="color:red;">`DELETE`</mark> `https://{{account_id}}.acquire.io/api/v1/account/role?id={{roleId}}`

Delete a role. The `roleId` must be passed in to the endpoint as a query parameter. Warning: This action cannot be undone.&#x20;

#### Query Parameters

| Name   | Type    | Description                              |
| ------ | ------- | ---------------------------------------- |
| roleId | integer | ID for the role you would like to delete |

#### Headers

| Name          | Type   | Description         |
| ------------- | ------ | ------------------- |
| Authorization | string | Bearer {{API\_KEY}} |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": {
    "deleted": 1
  }
}
```

{% endtab %}
{% endtabs %}
