Replace a checkpoint capability
Installs an enrolled equipment as the device of its type's function, retiring the previous one as history. **Required permission:** `referential.checkpoint:write`
/referential/v1/checkpoints/{id}/capabilitiesInstalls an enrolled equipment as the device of its type's function, retiring the previous one as history.
Required permission: referential.checkpoint:write
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
*/*
*/*
curl -X PUT "https://example.com/referential/v1/checkpoints/string/capabilities" \ -H "Content-Type: application/json" \ -d '{ "equipment_id": "string", "reason": "string" }'{ "capabilities": [ { "active": true, "bridge_address": "string", "equipment_code": "string", "equipment_id": "string", "equipment_name": "string", "released_at": "2019-08-24T14:15:22Z", "retirement_reason": "string", "status": "string", "type": "string", "wiring_reference": "string" } ], "code": "string", "created_at": "2019-08-24T14:15:22Z", "direction": "string", "from_area_id": "string", "id": "string", "name": "string", "purpose": "string", "status": "string", "to_area_id": "string", "updated_at": "2019-08-24T14:15:22Z"}Correct a checkpoint
Corrects the name, connected areas, purpose and direction of a checkpoint, all stated again; its code is unchanged. **Required permission:** `referential.checkpoint:write`
Decommission a checkpoint
Permanently decommissions a checkpoint; its working devices release the equipment they name. **Required permission:** `referential.checkpoint:write`