Skip to main content

/i/campaign/hide

Enterprise

This endpoint is part of Countly Enterprise. To get access, contact sales or compare versions. Existing customers can reach the support portal with questions.

Endpoint

/i/campaign/hide

Overview

Marks a campaign as hidden by setting is_hidden: true.

Authentication

Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.

Permissions

  • Attribution Update permission for the target app.

Request Parameters

ParameterTypeRequiredDescription
api_keyStringYes (or use auth_token)Dashboard API key.
auth_tokenStringYes (or use api_key)Dashboard auth token.
app_idStringYesTarget app ID.
argsJSON String (Object)YesMust include campaign_id.

Example

/i/campaign/hide?api_key=YOUR_API_KEY&app_id=6991c75b024cb89cdc04efd2&args={"campaign_id":"campaign-summer-2026"}

Response

{
"result": "Success"
}
Implementation details

Database Collections

CollectionUsed forData touched by this endpoint
countly.campaignsCampaign storageSets is_hidden to true for the target campaign.