deleteProjectAvatar method

Future<void> deleteProjectAvatar({
  1. required String projectIdOrKey,
  2. required int id,
})

Deletes a custom avatar from a project. Note that system avatars cannot be deleted.

Permissions required: Administer projects project permission.

Implementation

Future<void> deleteProjectAvatar(
    {required String projectIdOrKey, required int id}) async {
  await _client.send(
    'delete',
    'rest/api/3/project/{projectIdOrKey}/avatar/{id}',
    pathParameters: {
      'projectIdOrKey': projectIdOrKey,
      'id': '$id',
    },
  );
}