updateProjectAvatar method
Sets the avatar displayed for a project.
Use Load project avatar to store avatars against the project, before using this operation to set the displayed avatar.
Permissions required: Administer projects project permission.
Implementation
Future<dynamic> updateProjectAvatar(
{required String projectIdOrKey, required Avatar body}) async {
return await _client.send(
'put',
'rest/api/3/project/{projectIdOrKey}/avatar',
pathParameters: {
'projectIdOrKey': projectIdOrKey,
},
body: body.toJson(),
);
}