---
title: "Delete room ABAC attribute key"
slug: "delete-room-abac-attribute-key"
updated: 2026-06-08T12:46:40Z
published: 2026-06-08T12:46:40Z
---

> ## 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 room ABAC attribute key

Delete/api/v1/abac/rooms/:rid/attributes/:key![Defense](https://raw.githubusercontent.com/RocketChat/Rocket.Chat-Open-API/main/images/Defense.svg)

- Removes a single ABAC attribute key from a room.
- Deletes the specified attribute key and all its values from the room's ABAC configuration, leaving other attributes unchanged.
- Requires the `abac-management` and `manage-abac-admin-rooms` permissions.

### Changelog

| Version | Description |
| --- | --- |
| 8.0.0 | Added |
| 8.5.0 | Added the `manage-abac-admin-rooms` 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

<select class='api-response-data' aria-label='Media type'><option value='6ade4a54-fff7-4e18-8740-0c010d3f7589'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='ca991995-d902-4d4f-ad07-e9dbf4171300'>Success</option>
</select>Success

```json
{
  "success": true
}
```

object  successboolean    

400

Bad Request

<select class='api-response-data' aria-label='Media type'><option value='3a238115-e69b-47a7-8a8c-e77beb3c2156'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='42625819-6463-45e7-9932-32e443b09809'>Room not found</option>
</select>Room not found

```json
{
  "success": false,
  "error": "error-room-not-found"
}
```

object  successboolean    
errorstring    

401

Unauthorized

<select class='api-response-data' aria-label='Media type'><option value='cdeed667-e09d-4958-9c89-888e230abf19'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='45beb5fc-b254-4542-b2ac-dd78bff704bf'>Unauthorized login attempt</option>
</select>Unauthorized login attempt

```json
{
  "success": false,
  "error": "error-unauthorized"
}
```

object  successboolean    
errorstring    

403

Forbidden

<select class='api-response-data' aria-label='Media type'><option value='c27711b1-fb5d-405b-b062-515436d4226e'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='0b52bc1b-5d36-4e93-96f3-f6d357633355'>Missing required ABAC permissions</option>
</select>Missing required ABAC permissions

```json
{
  "success": false,
  "error": "error-not-authorized"
}
```

object  successboolean    
errorstring
