Authorizations
Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"
curl --request POST \
--url https://api.qovery.com/cluster/{clusterId}/lock \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"reason": "<string>",
"ttl_in_days": 123
}'{
"reason": "<string>",
"ttl_in_days": 123,
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locked_at": "2023-11-07T05:31:56Z",
"owner_name": "<string>"
}Lock a Cluster
curl --request POST \
--url https://api.qovery.com/cluster/{clusterId}/lock \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"reason": "<string>",
"ttl_in_days": 123
}'{
"reason": "<string>",
"ttl_in_days": 123,
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"locked_at": "2023-11-07T05:31:56Z",
"owner_name": "<string>"
}Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"
Was this page helpful?