DELETE
/
promotions
/
{id}
curl --request DELETE \
  --url https://api.pocketflows.com/promotions/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "name": "<string>",
  "start_time": "<string>",
  "end_time": "<string>",
  "points_multiplier": 123,
  "description": "<string>",
  "image_url": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the promotion

Response

200 - application/json

The deleted Promotion object

The response is of type object.