PUT
/v1/admin/campaigns/weights
Update Campaign Weights
curl -X PUT https://api.{cluster}.{platform}.voiger.io/v1/admin/campaigns/weights \ -H "Cookie: sid=$VOIGER_SESSION" \ -H "x-workspace-code: your-workspace-code" \ -H "x-csrf-token: $CSRF_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "weights": { "23967773-1d16-4f81-8582-5b9193601d26": 25, "23967773-1d16-4f81-8582-5b9193601d27": 30, "23967773-1d16-4f81-8582-5b9193601d28": 35 } }'
Parameters
x-workspace-code
string
required
in header
x-csrf-token
string
required
in header
Response
weights