Updates the project role with the specified id.

PUT

Updates the project role with the specified id.

Required Permissions: The user must be an admin or have workspace-manage-config:write permissions.

Path parameters

projectRoleIdstringRequired

The id of the project role.

Request

This endpoint expects an object.
namestringRequired>=0 characters<=255 characters

The name of the project role. Required.

isDefaultbooleanOptional

Whether to use this role as default when adding new project members.

defaultProjectRoleIdstringOptional

The id of the new default project role. Required if the updated project role is the current default role.

allowOnlyProjectMasterDataReadbooleanOptional

Whether this role is allowed to have only read permissions for project-master-data.

Response

OK

namestring>=0 characters<=255 characters

The name of the project role. Required.

isDefaultbooleanOptional

Whether to use this role as default when adding new project members.

defaultProjectRoleIdstringOptional

The id of the new default project role. Required if the updated project role is the current default role.

allowOnlyProjectMasterDataReadbooleanOptional

Whether this role is allowed to have only read permissions for project-master-data.

idstringOptional

The id of the project role.

memberCountintegerOptional

The count of members which are linked to this role.

memberslist of objectsOptional

The members which are linked to this role.

createdOndatetimeOptional

The date this entity was created.

createdBystringOptional

The id of the user who created this entity.

updatedOndatetimeOptional

The date this entity was last modified.

updatedBystringOptional

The id of the user who last modified this entity.