Hanzo
OpenapiAd

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

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

DELETE /v1/ad/campaigns/{id}

Addresshttps://api.hanzo.ai/v1/ad/campaigns/{id}
MethodDELETE
Operationdelete_ad_campaigns_by_id
AuthAuthorization: Bearer $HANZO_API_KEY

Removes one of the caller org's campaigns and answers 204 with no body. It deletes the stored record only: a campaign already launched keeps running on the ad network, which must be stopped there. An id another org owns reads as not found.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

StatusBodyMeaning
204no content

Failure carries the platform error shape — see Errors.

Examples

hanzo ads campaigns rm <id>

Ad API · All Hanzo APIs · Interactive reference

How is this guide?

On this page