Skip to main content
PATCH
Update Campaign Restriction

Authorizations

Authorization
string
header
required

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.

Path Parameters

campaign-id
string<uuid>
required

The ID of the campaign.

restriction-id
integer
required

The ID of the restriction.

Body

application/json

Limit-based restrictions for a campaign.

limit
integer | null

The limit of the restriction.

status
enum<string> | null

The status of the restriction.

Available options:
active,
inactive

Response

Successful Response