Table of Contents

API : Destination Delete Image

Introduction

This request is used to delete the current image for the destination. The request also succeeds when the destination has no image.

Request

URL https://api.telecomx.dk/destination/COUNTRY_CODE/image
Method DELETE
Access level RESELLER_ADMIN with FINANCE feature, or ADMIN
Params COUNTRY_CODE 2-Char ISO3166 country code of the destination

Request example

https://api.telecomx.dk/destination/DE/image

Response

JSON object
success Boolean True on success

Example

{
  "success": true
}

Errors

Error code Message Description
422 id Country code is not valid
404 id Destination not found
500 destination_flag Cannot delete file on image service
403 access_denied Insufficient access level
500 internal_error <Unspecified>