Skip to main content
POST
Restore campaign state

Authorizations

Authorization
string
header
required

Bearer token issued by Softmax

Path Parameters

league_id
string
required

League whose campaign state should be restored.

Pattern: ^league_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Body

application/json
state
CampaignState · object
required

Complete campaign state document to validate and restore.

dry_run
boolean
default:true

Preview the restore without changing campaign state.

Response

Successful Response

The response is of type Response Restore Campaign State V2 Leagues League Id Campaign Restore State Post · object.