Delete a company

DELETE /advertising/v1.0/companies/{companyId}

Endpoint for deleting advertising companies by provided id.

Path parameters

  • companyId string Required

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

Responses

  • 200 application/json

    Advertising company successfully deleted

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

    Advertising company does not exist.

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