Delete an ad

DELETE /advertising/v1.0/ads/{adId}

Endpoint for deleting advertisements by provided id.

Path parameters

  • adId string Required

    Id of an advertisement. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the advertisement insert endpoint.

Responses

  • 200 application/json

    Advertisement successfully deleted

    Hide response attribute Show response attribute object
    • success boolean Required
  • 404

    Advertisement does not exist.

DELETE /advertising/v1.0/ads/{adId}
curl \
 --request DELETE 'http://apis.reas.cz/advertising/v1.0/ads/63d9007e66fc41b2cd1057c6' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": true
}