Commit inicial - estructura base del proyecto
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
[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)
|
||||
Reference in New Issue
Block a user