Delete a video of an ad

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

Endpoint for deleting a single uploaded video.

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.

  • videoId string Required

    Id of a video. 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 video insert endpoint.

Responses

  • Image successfully deleted

  • Related advertisement does not exist or the video does not exist.

DELETE /advertising/v1.0/ads/{adId}/videos/{videoId}
curl \
 -X DELETE http://apis.public-staging.reas.cz/advertising/v1.0/ads/63d9007e66fc41b2cd1057c6/videos/63d9007e66fc41b2cd1057c6 \
 -H "Authorization: Bearer $ACCESS_TOKEN"