Skip to main content
POST
/
organization
/
{organizationId}
/
cluster
/
{clusterId}
/
stop
Stop cluster
curl --request POST \
  --url https://api.qovery.com/organization/{organizationId}/cluster/{clusterId}/stop \
  --header 'Authorization: <api-key>'
{
  "cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "BUILDING",
  "is_deployed": true,
  "next_k8s_available_version": "1.28",
  "last_execution_id": "f73e3833-922a-48a5-9dbd-6163f43f9143-1656410242",
  "cluster_lock": {
    "reason": "<string>",
    "ttl_in_days": 123,
    "cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "locked_at": "2023-11-07T05:31:56Z",
    "owner_name": "<string>"
  },
  "last_deployment_date": "2022-06-22T14:20:17.733084815Z"
}

Authorizations

Authorization
string
header
required

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"

Path Parameters

organizationId
string<uuid>
required

Organization ID

clusterId
string<uuid>
required

Cluster ID

Response

Update cluster

cluster_id
string<uuid>
status
enum<string>
Available options:
BUILDING,
BUILD_ERROR,
CANCELED,
CANCELING,
DELETED,
DELETE_ERROR,
DELETE_QUEUED,
DELETING,
DEPLOYED,
DEPLOYING,
DEPLOYMENT_ERROR,
DEPLOYMENT_QUEUED,
DRY_RUN,
QUEUED,
READY,
STOPPED,
STOPPING,
STOP_ERROR,
STOP_QUEUED,
RESTART_QUEUED,
RESTARTING,
RESTARTED,
RESTART_ERROR,
INVALID_CREDENTIALS
is_deployed
boolean
next_k8s_available_version
string | null
Example:

"1.28"

last_execution_id
string
Example:

"f73e3833-922a-48a5-9dbd-6163f43f9143-1656410242"

cluster_lock
object
last_deployment_date
string<date-time>
Example:

"2022-06-22T14:20:17.733084815Z"