curl --request POST \
--url https://api.cnap.tech/v1/credentials/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"api_token": "<string>"
}
'{
"valid": true,
"error": "<string>"
}Tests a cloud provider API token without storing it. Use before creating a credential to verify the token works.
curl --request POST \
--url https://api.cnap.tech/v1/credentials/validate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"api_token": "<string>"
}
'{
"valid": true,
"error": "<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