Custom user roles
Assign custom user role
Assignes a custom user role to a user.
- The user should have admin role and custom user role right.
- Assignment on the admin roles can be done through Atlassian Administration.
post/api/{cloudId}/v1/roles/assign
Request
- Base URLhttps://api.atlassian.com/jsm/ops
- URLhttps://api.atlassian.com/jsm/ops/api/{cloudId}/v1/roles/assign
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.stg.atlassian.com/authorizeToken URL: https://auth.stg.atlassian.com/oauth/token scopes: read:ops-config:jira-service-management, write:ops-config:jira-service-management
Request body
Example request
{
"accountId": "630a55c646556c72662aaaaa",
"roleId": "44a48324-f5f9-45af-b8c9-02978aaaaaaa"
}Response
Returned if the request is successful.
Changes
No recorded changes to this operation across all 5 revisions of this API.