Delete room ABAC attribute key

Prev Next
Delete
/api/v1/abac/rooms/:rid/attributes/:key
  • 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.
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