Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

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
/management/v1/projects/{project_id}/roles/{role_key}

Path Parameters

project_id*project_id
role_key*role_key

Request Body

application/json
  1. body
displayName*display_name
group?group

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X PUT 'https://example.com/management/v1/projects/string/roles/string' \  -H 'Content-Type: application/json' \  -d '{  "displayName": "string"}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?