Skip to main content
POST
/
schedules
/
{id}
/
cancel
Cancelar programación
curl --request POST \
  --url https://api.lina.health/v1/schedules/{id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "id": "sch_def456",
  "status": "cancelled",
  "creditsRefunded": 3,
  "cancelledAt": "2026-05-14T11:00:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.linahealthcareplatform.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string
required
ID de la programación a cancelar (ej. sch_def456).
{
  "id": "sch_def456",
  "status": "cancelled",
  "creditsRefunded": 3,
  "cancelledAt": "2026-05-14T11:00:00Z"
}
status
string
Estado actualizado a cancelled.
creditsRefunded
integer
Créditos devueltos al balance.
cancelledAt
string
Fecha y hora de la cancelación.
Solo se pueden cancelar programaciones con estado pending. Intentar cancelar una programación ya enviada (sent) devolverá un error 400.