2.0 KiB
2.0 KiB
Return to top
Create Cloud Provider Token
====================================================================================================================================
POST
/cloud-tokens
Create a new cloud provider token. The token will be validated before being stored.
Authorizations
bearerAuth
Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Request Body
application/json
SchemaJSON
JSON
{
"provider": "hetzner",
"token": "your-api-token-here",
"name": "My Hetzner Token"
}
Responses
201400401422
Cloud provider token created.
Content-Type
application/json
SchemaJSON
JSON
{
"uuid": "og888os"
}
POST
/cloud-tokens
Playground
Authorization
bearerAuth
Body
Try it out
Samples
Powered by VitePress OpenAPI