Set default campaign
PATCH
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.
apiKeyAuthheader
x-api-key<token>API key for authentication. Keys are prefixed with cops_.
application/json- body
campaignId*|nullResponse schema unavailable.
curl -X PATCH 'https://cops.app/api/brand/organization/settings/default-campaign' \ -H 'Content-Type: application/json' \ -d '{ "campaignId": "string"}'Example Response200
Empty
Update organization PATCH
Update the caller's organization details (name, slug, logo, metadata) — only the fields you pass change. A metadata object replaces the stored metadata. Requires organization update permission (owner or admin).
Get organization settings GET
Get the caller's organization settings, including the default campaign id (or null if none is set).