Skip to content

Unshare Campaign

Turn off the public report page of a campaign.

DELETE/api/v1/campaigns/{campaign_id}/share

Requires an API key with the write scope.

Disables the public report page. The old link stops working immediately, and a later Share Campaign call creates a new link. Calling it on a campaign that is not shared is not an error.

Path Parameters#

campaign_idstringpathrequired
The campaign.

Response#

dataobject
Show Result
idstring
The campaign.
sharedboolean
Always false.

Errors#

StatusDescription
401Missing, invalid, revoked or expired API key
403API key does not have the required scope: write
404Campaign not found in this workspace

Rate Limit#

  • 120 requests per minute, shared by every write call in your workspace. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (unix epoch seconds) and X-RateLimit-Bucket (write).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).

For client-side patterns (Retry-After, exponential backoff, monitoring X-RateLimit-Remaining), see Rate Limiting.

Was this page helpful?
View as MarkdownLast updated November 4, 2026