Skip to main content
POST
/
v1
/
compute
/
machines
/
{providerId}
/
suspend
Suspend a machine
curl --request POST \
  --url https://api.cnap.tech/v1/compute/machines/{providerId}/suspend \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "not_found",
    "message": "Resource not found",
    "param": "name",
    "suggestion": "Run `cnap clusters list` to see available clusters",
    "details": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://cnap.tech/account/tokens

Path Parameters

providerId
string
required

Provider-assigned machine ID

Response

Suspend workflow started