Skip to main content
DELETE
/
api
/
v1
/
uploads
/
{upload_id}
Cancel an upload
curl --request DELETE \
  --url https://api.optimaldial.com/api/v1/uploads/{upload_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "cancelled",
  "credits_refunded": 123
}

Authorizations

Authorization
string
header
required

OptimalDial API key, prefixed od_live_, sent as Authorization: Bearer .... Mint keys in the in-app developer panel; they are scoped to a single organization.

Path Parameters

upload_id
string<uuid>
required

Response

Cancellation result.

status
enum<string>
required
Available options:
cancelled
credits_refunded
integer
required

Credits returned to the organization. May be 0 if nothing to refund.