Skip to content

Remove a capability revoke from a user (admin)

DELETE
/admin/users/{ref}/revokes/{capability}
ref
required
integer format: int64
capability
required
string
team_id
string format: uuid

Revoke removed.

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed

Resource not found

object
error
required

Human-readable error summary

string
Example
the request could not be completed