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).
apiKeyAuthheader
x-api-key<token>API key for authentication. Keys are prefixed with cops_.
application/json- body
name?stringLength
1 <= length <= 255slug?stringLength
1 <= length <= 255logo?stringFormat
urimetadata?Response schema unavailable.
curl -X PATCH 'https://cops.app/api/brand/organization' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
Empty
Get organization details GET
Get details for the caller's current organization (name, slug, logo, metadata, members).
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.