Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

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
/management/v1/user_grants/_bulk

Request Body

application/json
  1. body
grantId?array<string>

Response Body

Success

application/json
  1. response
Example Request
curl -X DELETE 'https://example.com/management/v1/user_grants/_bulk' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{}

Was this page helpful?