https://www.elastic.co/docs/reference/ecctl/ecctl-example-list-deployments
List deployments | Elastic cloud control (ECCTL)
As a first example of using ecctl, run the ecctl deployment list command to retrieve information about existing deployments. This is a good way to check...
list deploymentselastic cloudcontrolecctl
https://www.elastic.co/docs/api/doc/cloud-enterprise/v3/operation/operation-list-deployments
List Deployments | Elastic Cloud Enterprise API documentation (v3)
elastic cloud enterprise apilist deploymentsdocumentationv3