deleteAttachment method
Delete an attachment by id.
Permissions required: Permission to view the container of the attachment. Permission to delete attachments in the space.
Implementation
Future<void> deleteAttachment(int id) async {
await _client.send(
'delete',
'attachments/{id}',
pathParameters: {
'id': '$id',
},
);
}