ZITADEL Docs
APIsCore ResourcesV1Organization Objects

RemoveProjectGrant

Remove Project Grant

Deprecated: use DeleteProjectGrant instead.

Remove a project grant. All user grants for this project grant will also be removed. A user will not have access to the project afterward (if permissions are checked).

DELETE
/projects/{project_id}/grants/{grant_id}

Path Parameters

project_id*string
grant_id*string

Response Body

application/json

application/json

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

Was this page helpful?