COPS

Set default campaign

PATCH
/organization/settings/default-campaign

Set (or clear, with null) the organization's default campaign — the one new accounts auto-link to and the dashboard scopes to by default. Pass a campaignId from list_campaigns, or null to clear.

Authorization

apiKeyAuth
headerx-api-key<token>

API key for authentication. Keys are prefixed with cops_.

Request Body

application/json
  1. body
campaignId*|null

Response Body

Response schema unavailable.

Example Request
curl -X PATCH 'https://cops.app/api/brand/organization/settings/default-campaign' \  -H 'Content-Type: application/json' \  -d '{  "campaignId": "string"}'
Example Response200
Empty