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

Path Parameters

project_id*string
role_key*string

Request Body

application/json

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

Response Body

application/json

curl -X PUT "https://loading/projects/string/roles/string" \  -H "Content-Type: application/json" \  -d '{    "displayName": "string"  }'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?