XentrDeveloper Docs
API ReferencePlanned downtime

Add a planned-downtime window

POST
/api/factories/{factoryId}/planned-downtime
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://api.xentr.ai/api/factories/string/planned-downtime" \  -H "Content-Type: application/json" \  -d '{    "kind": "holiday",    "startsAt": "2026-08-31T00:00:00Z",    "endsAt": "2026-09-01T00:00:00Z"  }'
Empty