TubeOnAITubeOnAIDevelopers
Skip to Content
TubeOnAITubeOnAIDevelopers

Cancel a scheduled delivery

POST
/v1/ai/post-deliveries/{id}/cancel

Authorization

bearerAuth
headerAuthorizationBearer <token>

Path Parameters

id*string

Request Body

application/json
  1. body
confirm?boolean

Must be true, sent only after the user's explicit yes.

expected_revision*integer

The delivery's revision from get_post or list_posts.

Formatint64

Response Body

application/json
  1. response
due_at_ms*integer
Formatint64
id*string
revision*integer
Formatint64
status*string
Example Request
curl -X POST 'https://beta.app.tubeonai.com/v1/ai/post-deliveries/string/cancel' \  -H 'Content-Type: application/json' \  -d '{  "expected_revision": 0}'
Example Response
{  "due_at_ms": 0,  "id": "string",  "revision": 0,  "status": "string"}