ZITADEL Docs
APIsCore ResourcesV1Organization Objects

RemoveProjectRole

Remove Project Role

Deprecated: use project v2 service RemoveProjectRole instead.

Removes the role from the project and on every resource it has a dependency. This includes project grants and user grants.

DELETE
/projects/{project_id}/roles/**

Path Parameters

project_id*string

Query Parameters

roleKey?string

Response Body

application/json

application/json

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

Was this page helpful?