---
title: "Delete ABAC attribute definition by ID"
slug: "delete-abac-attribute-definition-by-id"
updated: 2026-09-03T14:50:33Z
published: 2026-09-03T14:50:33Z
canonical: "developer.rocket.chat/delete-abac-attribute-definition-by-id"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.
# Delete ABAC attribute definition by ID
Delete/api/v1/abac/attributes/:_id
- Deletes an ABAC attribute definition by ID.
- Removes the attribute definition identified by `_id`. The delete fails if the attribute is currently in use, for example assigned to any room.
- Requires the `abac-management` and `manage-abac-admin-room-attributes` permissions.
### Changelog
| Version | Description |
| --- | --- |
| 8.0.0 | Added |
| 8.5.0 | Added the `manage-abac-admin-room-attributes` granular permission requirement. |
Header parametersX-Auth-TokenstringRequired
The `authToken` of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-IdstringRequired
The `userId` of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Responses200
OK
Success
```json
{
"success": true
}
```
object successboolean
400
Bad Request
Attribute not found
```json
{
"success": false,
"error": "error-attribute-not-found"
}
```
Attribute in use
```json
{
"success": false,
"error": "error-attribute-in-use"
}
```
object successboolean
errorstring
401
Unauthorized
Unauthorized login attempt
```json
{
"success": false,
"error": "error-unauthorized"
}
```
object successboolean
errorstring
403
Forbidden
Missing required ABAC permissions
```json
{
"success": false,
"error": "error-not-authorized"
}
```
object successboolean
errorstring