Skip to main content
POST
Validate a provider token

Authorizations

Authorization
string
header
required

workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens

Body

application/json
provider
enum<string>
required

Cloud provider to validate the token against.

Available options:
hcloud
value
string
required

The provider API token to probe. Consumed, never stored.

Minimum string length: 1

Response

Validation result

valid
boolean
required

Whether the token authenticated successfully.

error
string

Human-readable reason when valid is false.