XentrDeveloper Docs
API ReferenceDowntime

Update a downtime reason code

PATCH
/api/factories/{factoryId}/downtime/reasons/{id}
AuthorizationBearer <token>

In: header

Path Parameters

factoryId*string

Factory slug

id*string

Reason ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PATCH "https://api.xentr.ai/api/factories/string/downtime/reasons/string" \  -H "Content-Type: application/json" \  -d '{}'
Empty