Delete
/api/v1/abac/rooms/:rid/attributes
- 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-managementandmanage-abac-admin-roomspermissions. This call does not require the global settingABAC_Enabledto 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 parameters
X-Auth-Token
stringRequired
The authToken of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Responses
200
OK
Success
{
"success": true
}object
success
boolean
400
Bad Request
Room not found
{
"success": false,
"error": "error-room-not-found"
}object
success
boolean
error
string
401
Unauthorized
Unauthorized login attempt
{
"success": false,
"error": "error-unauthorized"
}object
success
boolean
error
string
403
Forbidden
Missing required ABAC permissions
{
"success": false,
"error": "error-not-authorized"
}object
success
boolean
error
string