Hanzo
OpenapiCampaign

Removes one campaign of the caller's org and answers 204 with no body.

Removes one campaign of the caller's org and answers 204 with no body. 404 when the org has no campaign with that id.

DELETE /v1/campaign/{id}

Addresshttps://api.hanzo.ai/v1/campaign/{id}
MethodDELETE
Operationdelete_campaign_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one campaign of the caller's org and answers 204 with no body. 404 when the org has no campaign with that id.

It deletes the RECORD, not the executions: a campaign whose channels are live on a provider should be paused first, or those executions keep running with nothing here to report them.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the campaign's server-minted handle, "cmp_"-prefixed.

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo campaign rm <id>

Campaign API · All Hanzo APIs · Interactive reference

How is this guide?

On this page