Skip to content

Function: deleteActor() ​

ts
function deleteActor(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/cloud/api/projectRoleActors.ts:76

Deletes actors from a project role for the project.

To remove default actors from the project role, use Delete default actors from project role.

This operation can be accessed anonymously.

Permissions required:Administer Projects project permission for the project or Administer Jira global permission.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ group?: string; groupId?: string; id: number; projectIdOrKey: string; user?: string; }-
parameters.group?stringThe name of the group to remove from the project role. This parameter cannot be used with the groupId parameter. As a group's name can change, use of groupId is recommended.
parameters.groupId?stringThe ID of the group to remove from the project role. This parameter cannot be used with the group parameter.
parameters.id?numberThe ID of the project role. Use Get all project roles to get a list of project role IDs.
parameters.projectIdOrKey?stringThe project ID or project key (case sensitive).
parameters.user?stringThe user account ID of the user to remove from the project role.
options?RequestOptions-

Returns ​

Promise<void>