---
title: "Delete all ABAC attributes"
slug: "delete-all-abac-attributes"
updated: 2026-06-01T06:32:04Z
published: 2026-06-01T06:32:04Z
---

> ## 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 all ABAC attributes

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

- Clears all ABAC attributes from a room.
- Removes every ABAC attribute key and value currently assigned to the specified room, leaving it with no ABAC attributes configured.
- Requires the `abac-management` and `manage-abac-admin-rooms` permissions. This call does not require the global setting `ABAC_Enabled` to be on, so attributes can be cleared after disabling ABAC.

### 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='9b3fecff-d320-4a49-9315-bb09698b05a8'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='43e96499-27cc-4cc7-a4ef-56f9560db039'>Success</option>
</select>Success

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

object  successboolean    

400

Bad Request

<select class='api-response-data' aria-label='Media type'><option value='9196c5f1-0071-4efe-9c19-b9fc63fb1085'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='e5438115-0054-42f1-8d85-215fc5fb1382'>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='c5456430-0bda-4d75-9234-bebc466aac25'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='4b5a07a9-2bfa-4640-9c27-c1e39f44c34f'>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='c8f6cb5a-b6ee-41bf-a2be-89f0bb8e5984'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='aa606a95-e054-419b-a283-999a8012fbab'>Missing required ABAC permissions</option>
</select>Missing required ABAC permissions

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

object  successboolean    
errorstring
