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. The users will not be able to use the granted project anymore. Also, the roles will not be included in the tokens when requested.

DELETE
/user_grants/_bulk

Request Body

application/json

grantId?grant_id
[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?