# Mediatailors Delete

API call format

DELETE /broker/mediatailors/{<mediatailor_guid>}                        //Use token autorization
DELETE /broker/private/mediatailors/{<mediatailor_guid>}                //Use Api Key

Description

This call deletes existing mediatailor.

Precondition

  • Authorization token/Api key is needed.
  • Mandatory elements (should be specified):

Postcondition

  • On success response code should be 200
  • On success message for successful deletion in JSON format is returned.
  • On failure an error will be returned with the right error code and description.

Example:

[Request] DELETE https://<base_api_url>/broker/mediatailors/<mediatailor_guid>  //use GET /broker/mediatailors to find a specific guid
[Request] DELETE https://<base_api_url>/broker/private/mediatailors/<mediatailor_guid>  //use GET /broker/mediatailors to find a specific guid
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","Authorization":"<IdToken>"} //Use token autorization
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","X-Api-Key":"<api_key>"}     //Use Api Key

[Response] 200
[Response Headers] {"Content-Type":["application/json"],"Content-Length":["..."],"Connection":["keep-alive"],"Date":["..... GMT"],"x-amzn-RequestId":["....."],....]}
[Response] 
{
        'status' => true,
        'data' => 'Item was deleted successfully'
}