roles
Returns permissions of the specified role.
Changed onReturns permissions of the specified role. The result lists permissions assigned to the role.
<Check title="Required Permissions" icon="key">The user must be an admin or have workspace-manage-config:read permissions.</Check>
get/roles/{roleId}/permissions
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/roles/{roleId}/permissions
- Auth: HTTP bearer
Path parameters
roleIdstring uuid required
The id of the role.
Query parameters
pageinteger
Page number for pagination
pageSizeinteger
Number of items per page
orderbystring
The properties to order by
filterbystring
The filter expression to filter by
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
GetRolePermissionsByRoleIdremoved and replaced withroles_GetRolePermissionsByRoleId
- info