Cancel a campaign in draft or executing status. Refunds all reserved credits.
cURL
curl --request POST \ --url https://api.vidjutsu.ai/v1/campaigns/cancel \ --header 'Content-Type: application/json' \ --header 'X-Api-Key: <api-key>' \ --data ' { "campaignId": "<string>" } '
{ "campaignId": "<string>", "status": "cancelled", "creditsRefunded": 123 }
Campaign cancelled and credits refunded
cancelled