deleteActor method
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.
Implementation
Future<void> deleteActor(
{required String projectIdOrKey,
required int id,
String? user,
String? group,
String? groupId}) async {
await _client.send(
'delete',
'rest/api/3/project/{projectIdOrKey}/role/{id}',
pathParameters: {
'projectIdOrKey': projectIdOrKey,
'id': '$id',
},
queryParameters: {
if (user != null) 'user': user,
if (group != null) 'group': group,
if (groupId != null) 'groupId': groupId,
},
);
}