https://your-domain.atlassian.net/rest/api/3/attachment/{id}Deletes an attachment from an issue. This operation can be accessed anonymously. **Permissions required:** For the project holding the issue containing the attachment: * *Delete own attachments* project permission to delete an attachment created by the calling user. * *Delete all attachments* project permission to delete an attachment created by any user.
The ID of the attachment.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request DELETE \
--url 'https://your-domain.atlassian.net/rest/api/3/attachment/{id}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}https://your-domain.atlassian.net/rest/api/3/attachment/{id}Deletes an attachment from an issue. This operation can be accessed anonymously. **Permissions required:** For the project holding the issue containing the attachment: * *Delete own attachments* project permission to delete an attachment created by the calling user. * *Delete all attachments* project permission to delete an attachment created by any user.
The ID of the attachment.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}curl --request DELETE \
--url 'https://your-domain.atlassian.net/rest/api/3/attachment/{id}' \
--header 'accept: application/json' \
--header 'content-type: application/json'{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}