curl --request POST \
--url https://api.cnap.tech/v1/compute/configs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"region": "<string>",
"image": "<string>",
"machine_type_filter": "<string>",
"cloud_credential_id": "<string>"
}
'{
"id": "<string>"
}curl --request POST \
--url https://api.cnap.tech/v1/compute/configs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"region": "<string>",
"image": "<string>",
"machine_type_filter": "<string>",
"cloud_credential_id": "<string>"
}
'{
"id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.cnap.tech/llms.txt
Use this file to discover all available pages before exploring further.
Personal Access Token (cnap_pat_...) or OAuth2 JWT. Create tokens at https://cnap.tech/account/tokens
1 - 100hcloud 11Glob pattern to filter available instance types (e.g., "cx*" for shared CPU, "cpx*" for dedicated)
Cloud credential ID for BYOM (bring your own machine). Omit to use CNAP-managed defaults.
Config created