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

Delete actors from project role

Deletes actors (users or groups) from a project role.

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

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

Path parameters
projectIdOrKeystringrequired

The project id or project key

idinteger<int64>required

The project role id

Query parameters
userstring

The user name of the user to remove from the project role. Use either user or group, but not both

groupstring

The group name to remove from the project role. Use either user or group, but not both

Responses
204

No content on success

404

Returned if the project or role is not found, the calling user does not have permission to view it or does not have permission to modify the actors in the project role.

410

Returned if none of the specified groups and users exist.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/project/string/role/0' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
No content on success

Was this page helpful?