api:destination:image-delete
Table of Contents
API : Destination Delete Image
Introduction
This request is used to delete the current image for the destination.
Request
| URL | https://api.telecomx.dk/destination/DESTINATION_ID/image | |
|---|---|---|
| Method | DELETE | |
| Access level | RESELLLER_ADMIN with FINANCE feature, or ADMIN | |
| Params | DESTINATION_ID | Id of destination |
Request example
https://api.telecomx.dk/destination/1234567890ABCDEF1234578/image
Response
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 400 | bad_request | Id not found in request URI |
| 404 | destination | Destination not found |
| 500 | internal_error | File not found in database |
| 500 | internal_error | <unspecified> |
api/destination/image-delete.txt · Last modified: 2023/10/30 21:18 by Per Møller