Lists all environments of an account.
The request produces an application/json
payload.
GET |
|
To execute this request, you need the Allow read access for environment resources (account-env-read
) scope assigned to your token. To learn how to obtain and use it, see Authentication.
Parameter | Type | Description | In | Required |
---|---|---|---|---|
accountUuid | string | The ID of the required account. You can find the UUID on the Account Management > Identity & access management > OAuth clients page, during creation of an OAuth client. | path | required |
Code | Type | Description |
---|---|---|
200 | Environment | - |
EnvironmentListDto
objectElement | Type | Description |
---|---|---|
data | Environment | Lists all environments in an account |
EnvironmentDto
objectElement | Type | Description |
---|---|---|
id | string | The UUID of the environment. |
name | string | Friendly name of the environment |
active | boolean | Property to determine if environment is active |
url | string | The url of the environment |
{"data": [{"id": "string","name": "string","active": true,"url": "string"}]}