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>"
}
}Snapshots the machine disk, deletes the cloud server to stop billing, and creates a suspension record.
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>"
}
}Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://cnap.tech/account/tokens
Provider-assigned machine ID
Suspend workflow started