Skip to main content

Retrieves a list of environments for baseUrl and apiKey

POST 

https://api.spectrocloud.com/v1/clouds/coxedge/environments

Retrieves a list of environments for baseUrl and apiKey

Request

Body

required

Request payload to get CoxEdge environments

    credentials

    object

    CoxEdge credentials to get organizations

    apiBaseUrlstring

    CoxEdge baseUrl - for api calls

    apiKeystring

    CoxEdge ApiKey - secret for api calls

    organizationIdstring

    CoxEdge organizationId

Responses

List of CoxEdge environments

Schema

    environments

    object[]

    required

  • Array [

  • idstring

    CoxEdge environment id

    isDeletedboolean

    CoxEdge environment state

    namestring

    CoxEdge environment name

  • ]

curl -L 'https://api.spectrocloud.com/v1/clouds/coxedge/environments' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"credentials": {
"apiBaseUrl": "string",
"apiKey": "string"
},
"organizationId": "string"
}'
Request Collapse all
Base URL
https://api.spectrocloud.com
Body required
{
"credentials": {
"apiBaseUrl": "string",
"apiKey": "string"
},
"organizationId": "string"
}