Skip to content

Update the lifecycle state of a specific node

Request

Update the lifecycle state for a node (appliance or agent).


Requires nodes::manage permission.

Security
JWTAuthorizer
Path
nodeIDstringrequired

Node ID

Bodyapplication/jsonrequired

Lifecycle state update

lifecycleStatestringrequired

The lifecycle state to set on the node

Enum:"pre-production""production""maintenance""decommissioned"
Example:"production"
curl -i -X PUT \
  'https://apidocs.trustgrid.io/_mock/v2/node/{nodeID}/lifecycle-state' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "lifecycleState": "production"
  }'

Responses

OK

Response
No content