Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Removes default actor from a role

Removes default actor from the given role.

DELETE/api/2/role/{id}/actors
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
idinteger<int64>required

The role id to remove the actors from

Query parameters
userstring

If given, removes an actor from given role

groupstring

If given, removes an actor from given role

Responses
200

Returns updated actors list.

actorsRoleActorBean[]
Show properties
Array of RoleActorBean
namestring
400

Returned if user and group are not given, both user and group are given or provided group or user does not exist.

401

Returned if the requesting user is not logged in.

403

Returned if the requesting user is not an admin or a sysadmin.

404

Returned if the role with the given id does not exist.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/role/0/actors' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "actors": [
    {
      "name": "jira-developers"
    }
  ]
}

Was this page helpful?