ZITADEL Docs
APIsCore ResourcesV1Organization Objects

DeactivateProjectGrant

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

application/json

curl -X POST "https://loading/projects/string/grants/string/_deactivate"
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?