RankSharkDocs
Campaigns

Archive a campaign

RankShark EnhanceScopecampaigns:write

POST
/api/v1/campaigns/{id}/archive

Archived campaigns keep their history and do not run.

Authorization

headerAuthorizationBearer <token>

An Enhance API key (rsen_…) or an OAuth 2.1 access token, as "Authorization: Bearer …".

Path Parameters

id*string

Campaign id

Response Body

Archived

application/json
  1. response
result?string

The outcome as the workspace reports it

Example Request
curl -X POST 'https://panel.rankshark.io/api/v1/campaigns/string/archive'
Example Response
{  "result": "string"}