Campaigns

Revoke share link

Revokes the campaign's public view-in-browser link. The shared URL returns 404 immediately; sharing again later mints a different URL. Returns revoked=false when no link was active.

delete/campaigns/{campaignId}/share-link

Path parameters

campaignIdstring required

Campaign ID

Response

Share link revoked (or none was active)

successboolean
revokedboolean

False when the campaign had no active public link.

Example response

{
  "success": true
}

Changes

Changed in 4 of the 121 revisions of this API.7

    • added the optional property retryable to the response with the 401 status

      response-optional-property-added

    • added the optional property retryable to the response with the 404 status

      response-optional-property-added

    • added the optional property retryable to the response with the 503 status

      response-optional-property-added

    • added the non-success response with the status 503

      response-non-success-status-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 404 status

      response-optional-property-added

    • endpoint added

      endpoint-added