Skip to main content
POST
Cancel a CPL campaign.
Отмена доступна только пока заказ ещё в очереди: status=waiting с queue_position >= 1. Когда заказ вышел из очереди и началась доставка, отменить его здесь уже нельзя.

Авторизации

X-API-Key
string
header
обязательно

Your API key from the Studio Dashboard

Параметры пути

public_id
string
обязательно

Resource public id. Format varies by endpoint: cplo_xxxxxxx for CPL campaigns, cpco_xxxxxxx for CPC orders, swpo_xxxxxxx for swap orders, cpcr_xxxxxxx for CPC creatives, revi_xxxxxxx for RevShare invoices.

Pattern: ^[a-z0-9_]+$

Тело

application/json
reason
string
обязательно

Why you're cancelling. Surfaced to the marketer + audit log.

Required string length: 5 - 500

Ответ

Cancelled.

success
boolean
data
object