v4

latestOpenAPI 3.0.1Apache 2.02026-08-016079122.3 MB
Project role actors

Delete default actors from project role

Deletes the default actors from a project role. You may delete a group or user, but you cannot delete a group and a user in the same request.

Changing a project role's default actors does not affect project role members for projects already created.

Permissions required: Administer Jira global permission.

delete/rest/api/2/role/{id}/actors

Path parameters

idinteger required

The ID of the project role. Use Get all project roles to get a list of project role IDs.

Query parameters

userstring
Example:5b10ac8d82e05b22cc7d4ef5

The user account ID of the user to remove as a default actor.

groupIdstring

The group ID of the group to be removed as a default actor. This parameter cannot be used with the group parameter.

groupstring

The group name of the group to be removed as a default actor.This parameter cannot be used with the groupId parameter. As a group's name can change, use of groupId is recommended.

Response

Returned if the request is successful.

adminboolean

Whether this role is the admin role for the project.

currentUserRoleboolean

Whether the calling user is part of this role.

defaultboolean

Whether this role is the default role for the project

descriptionstring

The description of the project role.

idinteger

The ID of the project role.

namestring

The name of the project role.

roleConfigurableboolean

Whether the roles are configurable for this project.

selfstring uri

The URL the project role details.

translatedNamestring

The translated name of the project role.