Ads

Deletes an ad.

delete/ads/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required

The ad ID.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

ad deleted

object required
deleted, boolean required

Always true.

id, string required

ID of the deleted ad.

Example response

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

Changes

    • info

      added the optional property error/code to the response with the status

    • breaking

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

    • info

      added the required property deleted to the response with the status

    1 more change in this revision