Delete attachment
Request accessPurpose
This call is used to remove a file you attached to a feedback, for example when the wrong file was uploaded or when the file has to be removed for privacy reasons. The file is deleted and the attachment is no longer listed with the feedback.
This cannot be undone. The feedback itself is not affected.
How to request data
HTTP method: POST
- Constants and parameters enclosed in curly brackets { } must be replaced with their values.
- Please see the following Request parameters section with the required and optional parameters tables for these values. The generic URL format is as follows.
URL request format
https://{baseURL}/maps/orbis/feedback/{feedbackId}/attachments/{attachmentId}/delete?key={API-key}&apiVersion={version}This call has no request body.
Request parameters
The following table describes the parameters that can be used in a request.
- Required parameters must be used or the call will fail.
Parameter | Required | Type | Description |
|---|---|---|---|
| Yes | string | The ID of the feedback the file belongs to. Part of the URL. |
| Yes | string | The ID of the attachment, as listed with the feedback. Part of the URL. |
Response data
Response codes
HTTP Code | Message | Description | Sample response |
|---|---|---|---|
| No Content | Attachment deleted successfully. The response has no body | |
| Forbidden | Access denied | |
| Not Found | Attachment or feedback not found | |
| Internal Server Error | Internal server error | |