Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Remove User Grant

Deprecated: Delete an authorization to remove a users access to an owned or granted project.

Removes the user grant from the user. The user 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/users/{user_id}/grants/{grant_id}

Path Parameters

user_id*user_id
grant_id*grant_id

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X DELETE 'https://example.com/management/v1/users/string/grants/string'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?