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
/projects/{project_id}/grants/{grant_id}/_deactivate

Path Parameters

project_id*string
grant_id*string

Response Body

application/json

curl -X POST "https://loading/projects/string/grants/string/_deactivate"
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?