Skip to main content

Endpoint

DELETE https://api.graine.ai/api/v1/campaigns/{campaign_id}

Path Parameters

ParameterTypeRequiredDescription
campaign_idstringYesCampaign to delete

Headers

HeaderRequiredDescription
AuthorizationYesBearer gat_<token>
This is a permanent, irreversible operation. If you only want to stop dispatching calls, use Pause or Cancel instead.

Example Request

curl -X DELETE "https://api.graine.ai/api/v1/campaigns/cmp_abc123" \
  -H "Authorization: Bearer gat_your_token"

Responses

204 No Content

Campaign deleted successfully. Empty response body.

404 Not Found

{ "detail": "Campaign not found" }