Custom user roles
Update custom user role
Updates the details of a custom user role.
- The user should have admin role and custom user role right.
put/api/{cloudId}/v1/roles/{identifier}
Request
- Base URLhttps://api.atlassian.com/jsm/ops
- URLhttps://api.atlassian.com/jsm/ops/api/{cloudId}/v1/roles/{identifier}
- 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
Path parameters
identifierstring required
Id of the custom user role.
Query parameters
identifierType'id' | 'name'
Type of the identifier.
Request body
Example request
{
"name": "conflictRightRole_1",
"grantedRights": [
"alerts-access-all",
"incident-add-note",
"asdasdad"
],
"disallowedRights": [
"incident-reopen"
]
}Response
Returned if the request is successful.
Changes
No recorded changes to this operation across all 5 revisions of this API.