ZITADEL Docs
APIsCore ResourcesV1Organization Objects

BulkRemoveUserGrant

Bulk Remove User Grants

Deprecated: Delete authorizations one after the other to remove access for multiple users on multiple owned or granted projects.

Remove a list of user grants (role assignments). The users will not be able to use the granted project anymore. Also, the roles will not be included in the tokens when requested.

Note: User grant refers to role assignments.

DELETE
/user_grants/_bulk

Request Body

application/json

grantId?array<>
[key: string]?never

Response Body

application/json

application/json

curl -X DELETE "https://loading/user_grants/_bulk" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?