Ads

Deletes an ad.

delete/ads/{id}

Request

  • Base URL: https://api.whop.com/api/v1
  • URL: https://api.whop.com/api/v1/ads/{id}
  • Auth: HTTP bearer

Response

ad deleted

deletedboolean required

Always true.

idstring required

ID of the deleted ad.

Example response

{
  "deleted": true,
  "id": "ad_xxxxxxxxxxxxxx"
}

Changes

    • info

      added the optional property / to the response with the status

    • breaking

      the response's body type changed from boolean to object for status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status