Skip to main content
DELETE
/
api
/
v2
/
schedules
/
{schedule_id}
Delete a schedule
curl --request DELETE \
  --url https://agp.eu.hcompany.ai/api/v2/schedules/{schedule_id} \
  --header 'Authorization: Bearer <token>'
Deletes the schedule and its run history. Future fires stop; sessions already created by past fires keep running. Returns 204 with no body.

Path parameters

schedule_id
string
required
The schedule’s id (UUID).

Examples

curl -X DELETE "https://agp.eu.hcompany.ai/api/v2/schedules/9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f" \
  -H "Authorization: Bearer $HAI_API_KEY"

Errors

StatusCause
404No schedule with this id in your organization.