roles
Returns the role for the name.
Changed onReturns the role for the name. The name match is evaluated within the current workspace.
<Check title="Required Permissions" icon="key">The user must be an admin or have workspace-manage-config:read permissions.</Check>
get/roles/{roleName}
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/roles/{roleName}
- Auth: HTTP bearer
Path parameters
roleNamestring required
The name of the role.
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
GetRoleByRoleNameremoved and replaced withroles_GetRoleByRoleName
- info