Returns project roles in the workspace. Set includeMembers to include each role's members.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Query parameters
includeMembersbooleanOptionaltrueWhether to include the members of each project role in the response.
pageintegerOptional1Page number for pagination
pageSizeintegerOptional10Number of items per page
orderbystringOptionalThe properties to order by
filterbystringOptionalThe filter expression to filter by
Responses
200 OK
application/json
namestringRequired0 maxLength: 255 The name of the project role. Required.
isDefaultboolean or nullOptionalWhether to use this role as default when adding new project members.
defaultProjectRoleIdstring or nullOptionalThe id of the new default project role. Required if the updated project role is the current default role.
allowOnlyProjectMasterDataReadbooleanOptionalWhether this role is allowed to have only read permissions for project-master-data.
idstringOptionalThe id of the project role.
memberCountintegerOptionalThe count of members which are linked to this role.
membersarray of object or nullOptionalThe members which are linked to this role.
Show 10 properties
idstringOptionalThe id of the project member entity.
userIdstringOptionalThe id of the user who is this project member.
firstNamestring or nullOptionalThe first name of the user.
lastNamestring or nullOptionalThe last name of the user.
hasImageboolean or nullOptionalWhether the user has an image.
projectRoleIdstringOptionalThe project role of the project member.
projectRoleNamestring or nullOptionalThe project role name of the project member.
isResponsiblebooleanOptionalWhether the user is responsible for this project.
isDeactivatedbooleanOptionalWhether the user is deactivated.
isExternalbooleanOptionalTrue if this entity is coming from an external workspace (awork Connect).
createdOnstringOptionalThe date this entity was created.
createdBystringOptionalThe id of the user who created this entity.
updatedOnstringOptionalThe date this entity was last modified.
updatedBystringOptionalThe id of the user who last modified this entity.