Retrieves a list of AWS regions for the specified account
GEThttps://api.spectrocloud.com/v1/clouds/aws/regions
Retrieves a list of AWS regions for the specified account
Request
Query Parameters
cloudAccountUid stringrequired
Uid for the specific AWS cloud account
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
regions
object[]
required
{
"regions": [
{
"endpoint": "string",
"name": "string",
"optInStatus": "string"
}
]
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/clouds/aws/regions' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'