Zone Roles
Revoke role from user
Changed onRevokes a role from the user. Provide the same (scope_type, scope_id) pair the grant was created with, or omit both to revoke the unscoped grant.
delete/zones/{zoneId}/users/{userId}/roles/{roleId}
Request
- Base URLhttps://docs.keycard.ai (the document declares no server; this is the origin it was published from)
- URLhttps://docs.keycard.ai/zones/{zoneId}/users/{userId}/roles/{roleId}
- Auth
- HTTP bearer
- or OAuth 2Client credentialsToken URL: /service-account-token
Path parameters
zoneIdstring required
Zone ID
userIdstring required
User ID
roleIdstring required
Role ID
Query parameters
scope_typestring
Scope kind of the grant to revoke. Provide together with scope_id.
scope_idstring
Scope target of the grant to revoke. Provide together with scope_type.
Response
Default Response
Changes
- breaking
for the
queryrequest parameterscope_id, the minLength was increased from0to1 - breaking
for the
queryrequest parameterscope_type, the minLength was increased from0to1 - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info