Files

126 lines
2.5 KiB
Markdown
Raw Permalink 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/list-cloud-tokens#VPContent)
Return to top
List Cloud Provider Tokens[](https://coolify.io/docs/api-reference/api/operations/list-cloud-tokens#list-cloud-provider-tokens)
=================================================================================================================================
GET
/cloud-tokens
List all cloud provider tokens for the authenticated team.
Authorizations[](https://coolify.io/docs/api-reference/api/operations/list-cloud-tokens#authorizations)
---------------------------------------------------------------------------------------------------------
bearerAuth
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
Type
HTTP (bearer)
Responses[](https://coolify.io/docs/api-reference/api/operations/list-cloud-tokens#responses)
-----------------------------------------------------------------------------------------------
200400401
Get all cloud provider tokens.
Content-Type
application/json
SchemaJSON
JSON
\[\
\
{\
\
"uuid": "string",\
\
"name": "string",\
\
"provider": "string",\
\
"team\_id": 0,\
\
"servers\_count": 0,\
\
"created\_at": "string",\
\
"updated\_at": "string"\
\
}\
\
\]
GET
/cloud-tokens
Playground[](https://coolify.io/docs/api-reference/api/operations/list-cloud-tokens#playground)
-------------------------------------------------------------------------------------------------
Authorization
bearerAuth
Try it out
Samples[](https://coolify.io/docs/api-reference/api/operations/list-cloud-tokens#samples)
-------------------------------------------------------------------------------------------
BrunocURLJavaScriptPHPPython
Bruno
GET https://app.coolify.io/api/v1/cloud-tokens
Headers
authorization: Token
cURL
curl https://app.coolify.io/api/v1/cloud-tokens \
--header 'Authorization: Token'
JavaScript
fetch('https://app.coolify.io/api/v1/cloud-tokens', {
headers: {
Authorization: 'Token'
}
})
PHP
$ch = curl_init("https://app.coolify.io/api/v1/cloud-tokens");
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Token']);
curl_exec($ch);
curl_close($ch);
Python
requests.get(
"https://app.coolify.io/api/v1/cloud-tokens",
headers={
"Authorization": "Token"
}
)
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)