Skip to content
Docs
Roles

Revoke role from group

Revoke role from group

DELETE/zones/{zoneId}/groups/{groupId}/roles/{roleId}

Revokes a role from the group. Provide the same (scope_type, scope_id) pair the grant was created with, or omit both to revoke the unscoped grant.

Path ParametersExpand Collapse
zoneId: string
groupId: string
roleId: string
Query ParametersExpand Collapse
scope_id: optional string

Scope target of the grant to revoke. Provide together with scope_type.

minLength1
scope_type: optional string

Scope kind of the grant to revoke. Provide together with scope_id.

minLength1

Revoke role from group

curl https://api.keycard.ai/zones/$ZONE_ID/groups/$GROUP_ID/roles/$ROLE_ID \
    -X DELETE \
    -H "Authorization: Bearer $KEYCARD_API_API_KEY"
Returns Examples