GET /deployments
curl \
-X GET https://api.elastic-cloud.com/api/v1/deployments
Response examples (200)
{
"deployments": [
{
"id": "string",
"name": "string",
"resources": [
{
"ref_id": "string",
"elasticsearch_cluster_ref_id": "string",
"id": "string",
"kind": "string",
"region": "string",
"cloud_id": "string",
"credentials": {
"username": "string",
"password": "string"
},
"secret_token": "string",
"warnings": [
{
"code": "string",
"message": "string"
}
]
}
]
}
]
}
Response examples (401)
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}