Deleting an Attachment
To delete an attachment you’ll need its ID.
HTTP-Method
DELETE
Path
/api/rest/v3/frontend/attachments/{attachmentId}
Authentification
Path Parameter
-none-
Query Parameter
attachmentId
Responses
Action | Response | Description |
---|---|---|
success | 200 | The attachment has been delted successfuly |
authorization error | 401 / 403 | See here and here for details. |
not found | 404 – { “code”: “get_file_error”, “message”: “No attachment with id X found” } | No attachment could be found for the given ID |
not editable | 400 – { “code”: “application_access_error”, “message”: “Application is not editable anymore” } | The application is not editable anymore. |