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 Enterprise ABAC license, the abac-management permission, and global setting ABAC_Enabled to be enabled.
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
No "abac-management"
{
"success": false,
"error": "error-not-authorized"
}object
success
boolean
error
string