Files
Proxmox-Coolify-Manager/coolify_skill/references/ops/create-cloud-token.md
T

90 lines
2.0 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Skip to content](https://coolify.io/docs/api-reference/api/operations/create-cloud-token#VPContent)
Return to top
Create Cloud Provider Token[](https://coolify.io/docs/api-reference/api/operations/create-cloud-token#create-cloud-provider-token)
====================================================================================================================================
POST
/cloud-tokens
Create a new cloud provider token. The token will be validated before being stored.
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-cloud-token#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[](https://coolify.io/docs/api-reference/api/operations/create-cloud-token#request-body)
------------------------------------------------------------------------------------------------------
application/json
SchemaJSON
JSON
{
"provider": "hetzner",
"token": "your-api-token-here",
"name": "My Hetzner Token"
}
Responses[](https://coolify.io/docs/api-reference/api/operations/create-cloud-token#responses)
------------------------------------------------------------------------------------------------
201400401422
Cloud provider token created.
Content-Type
application/json
SchemaJSON
JSON
{
"uuid": "og888os"
}
POST
/cloud-tokens
Playground[](https://coolify.io/docs/api-reference/api/operations/create-cloud-token#playground)
--------------------------------------------------------------------------------------------------
Authorization
bearerAuth
Body
Try it out
Samples[](https://coolify.io/docs/api-reference/api/operations/create-cloud-token#samples)
--------------------------------------------------------------------------------------------
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)