provider Project role actors DELETE
/rest/api/3/role/{id}/actors @utdk/jira
/rest/api/3/role/{id}/actors Delete default actors from project role
Deletes the [default actors](#api-rest-api-3-resolution-get) 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](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
- id path required
- The ID of the project role. Use [Get all project roles](#api-rest-api-3-role-get) to get a list of project role IDs.
- integer
- user query
- The user account ID of the user to remove as a default actor.
- string
- groupId query
- The group ID of the group to be removed as a default actor. This parameter cannot be used with the `group` parameter.
- string
- group query
- 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.
- string
Try it
Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import jira from '@utdk/jira';
await jira.deleteprojectroleactorsfromrole()