curl --request POST \
--url https://api.cnap.tech/v1/compute/machines \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"config_ref": "<string>",
"cluster_id": "<string>",
"node_claim": "<unknown>"
}
'{
"provider_id": "compute://abc123",
"node_name": "worker-xl8r2",
"status": "provisioning"
}Provisions a new machine in the specified cluster with the given compute configuration.
curl --request POST \
--url https://api.cnap.tech/v1/compute/machines \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"config_ref": "<string>",
"cluster_id": "<string>",
"node_claim": "<unknown>"
}
'{
"provider_id": "compute://abc123",
"node_name": "worker-xl8r2",
"status": "provisioning"
}Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://cnap.tech/account/tokens