Retrieve environments
Retrieves a list of all available environments.
Analytic events
- ENVIRONMENT_RETRIEVE_LIST_START
- ENVIRONMENT_RETRIEVE_LIST_SUCCESS
- ENVIRONMENT_RETRIEVE_LIST_FAIL
SecuritybearerAuth
Request
Responses
200
A list of environments
400
Bad Request. The request was malformed or missing required parameters.
401
Unauthorized. The client is not authorized to access this resource.
403
Forbidden. The authorization server refuses to grant the client access to the resource.
500
Internal Server Error. An unexpected error occurred.
get/v1/environments
Request samples
- curl
- Node.js
- JavaScript
- Python
- C#
- Java
Response samples
- 200
- 400
application/json
{- "data": [
- {
- "id": "fa605282-0223-4ae0-831d-af368bc39a55",
- "name": "MATTR Public Sydney, Australia",
- "domain": ".mattr.global",
- "authorizationServerDomain": "manage.auth.auth0.com",
- "deploymentModel": "public",
- "region": {
- "id": "70bb433a-f0ec-4297-ad76-3b09c71311f3",
- "name": "AU01",
- "displayName": "Sydney, Australia"
}
}
], - "nextCursor": "Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1hNjZmZmVhNS04NDhlLTQzOWQtODBhNC1kZGE1NWY1M2UzNmM"
}