Zum Hauptinhalt springen
DELETE
/
public
/
v1
/
campaign-service
/
campaigns
/
{campaign-id}
/
timetables
/
{day-of-week}
Delete a campaign timetable for a specific day (dayparting).
curl --request DELETE \
  --url https://api.topsort.com/public/v1/campaign-service/campaigns/{campaign-id}/timetables/{day-of-week} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.topsort.com/llms.txt

Use this file to discover all available pages before exploring further.

Autorisierungen

Authorization
string
header
erforderlich

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Pfadparameter

campaign-id
string<uuid>
erforderlich

The ID of the campaign.

day-of-week
enum<integer>
erforderlich

The day of the week (1=Monday, 7=Sunday).

Verfügbare Optionen:
1,
2,
3,
4,
5,
6,
7

Abfrageparameter

vendor_id
string
erforderlich

The ID of the vendor.

Minimum string length: 1

Antwort

Successful Response