Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Deactivate Project Grant

Deprecated: use DeactivateProjectGrant instead.

Set the state of the project grant to deactivated. The grant has to be active to be able to deactivate.

POST
/management/v1/projects/{project_id}/grants/{grant_id}/_deactivate

Path Parameters

project_id*project_id
grant_id*grant_id

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/management/v1/projects/string/grants/string/_deactivate'
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?