cURL
curl --request DELETE \ --url https://app2.freyavoice.ai/api/v2/campaign/{campaignId} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "message": "<string>", "result": { "success": true, "deletedCount": 123 } } }
Deletes a campaign and all associated data.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Campaign ID
1
Workspace ID
Deletion result
true
false
Show child attributes