PATCH
/
public
/
v1
/
campaign-service
/
campaigns
/
{campaign-id}
/
restrictions
/
{restriction-id}
curl --request PATCH \
  --url https://api.topsort.com/public/v1/campaign-service/campaigns/{campaign-id}/restrictions/{restriction-id} \
  --header 'Content-Type: application/json' \
  --data '{
  "limit": 123,
  "status": "active"
}'
This response does not have an example.

Path Parameters

campaign-id
string
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

The limit of the restriction.

status
enum<string>

The status of the restriction.

Available options:
active,
inactive

Response

204
_mintlify/placeholder

Successful Response