cURL
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>" }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The ID of the promotion
The deleted Promotion object
Promotion
The response is of type object.
object