Appearance
Set Equipment Active Status
Set the active or inactive status of an equipment record. Requires the EQUIPMENT_MANAGEMENT feature flag and ADMIN or MANAGE_EQUIPMENTS permissions.
Parameters
| name * are required parameters | data type | description |
|---|---|---|
equipmentId* | string | The unique identifier of the equipment |
body.isActive* | boolean | Whether the equipment should be active |
Return Value
The updated equipment record with the new active status.
Examples
bash
curl -X POST "https://app.wombat.software/api/{targetPath}/equipment/:equipmentId/set-active-status" \
-H "Content-Type: application/json" \
-H "Authentication: Bearer ..." \
-d '{"isActive": false}'ENDPOINTS
post
/api/{targetPath}/equipment/:equipmentId/set-active-status