ZITADEL Docs
APIsCore ResourcesV1Organization Objects

UpdateProjectRole

Change Project Role

Deprecated: use project v2 service UpdateProjectRole instead.

Change a project role. The key is not editable. If a key should change, remove the role and create a new one.

PUT
/projects/{project_id}/roles/**

Path Parameters

project_id*string

Request Body

application/json

roleKey*string
displayName*string
group?string
[key: string]?never

Response Body

application/json

application/json

curl -X PUT "https://loading/projects/string/roles/**" \  -H "Content-Type: application/json" \  -d '{    "roleKey": "string",    "displayName": "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?