Skip to content
Docs
Roles

Delete role

Delete role

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

Permanently deletes a customer-owned role. Platform-owned roles cannot be deleted, and a role with existing assignments returns 409.

Path ParametersExpand Collapse
zoneId: string
roleId: string

Delete role

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