SupportDeveloper ForumLogin
  • Overview
    • Introduction
    • Getting Started
    • Authentication
    • Error Handling
    • Pagination
    • Filtering
    • Ordering
    • Rate Limits
    • Permissions
    • Webhooks
    • MCP Server
    • Versioning
    • Changelog
    • Support
  • API v1 Reference
    • Projects Overview
    • Tasks Overview
    • Time Tracking Overview
    • Documents Overview
    • Search Overview
    • Companies Overview
    • Users Overview
    • Files & Images Overview
    • Custom Fields Overview
    • Workload & Planning Overview
    • Project Templates Overview
    • Login & Access Overview
    • API Management Overview
LogoLogo
SupportDeveloper ForumLogin
API v1 ReferenceProject Roles

Returns all permissions of the project role with the specified id.

GET
https://api.awork.com/api/v1/projectroles/:projectRoleId/permissions
GET
/api/v1/projectroles/:projectRoleId/permissions
1curl https://api.awork.com/api/v1/projectroles/projectRoleId/permissions \
2 -H "Authorization: Bearer <token>"
Try it
200Retrieved
1[
2 {
3 "feature": "pmd",
4 "accessLevels": [
5 "read"
6 ],
7 "id": "123e4567-e89b-12d3-a456-426614174000",
8 "createdOn": "2024-01-15T09:30:00Z",
9 "updatedOn": "2024-01-15T09:30:00Z"
10 }
11]
<Check title="Required Permissions">Any authenticated user.</Check>
Was this page helpful?
Previous

Creates, updates or deletes a permission of a project role with the specified id.

Next
Built with
Creates, updates or deletes a permission of a project role with the specified id.

Authentication

AuthorizationBearer
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Path parameters

projectRoleIdstringRequiredformat: "uuid"
The id of the project role.

Query parameters

pageintegerOptionalDefaults to 1
Page number for pagination
pageSizeintegerOptionalDefaults to 10
Number of items per page
orderbystringOptional
The properties to order by
filterbystringOptional
The filter expression to filter by

Response

OK
featurestring or null
The feature these permissions belong to.
accessLevelslist of strings or null
The access levels applied to this feature.
idstring or nullformat: "uuid"
The id of the permission.
createdOnstring or nullformat: "date-time"
The date this entity was created.
updatedOnstring or nullformat: "date-time"
The date this entity was last modified.
The id of the project role.
Page number for pagination

Bearer authentication of the form Bearer <token>, where token is your auth token.

Required Permissions
Any authenticated user.