Get trusted environments
editGet trusted environments
editReturns the list of trusted environments for the organization. If no organization is passed in, the organization attached to the user is assumed.
Request
editGET /api/v1/trusted-environments
Query parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
N |
(Optional) Organization Id for which to retrieve the trusted environments |
Responses
edit-
200
-
(
ElasticsearchClusterTrustSettings
)Trusted environments for this organization
-
404
-
Organization not found. (code:
organization.not_found
)Headers
-
x-cloud-error-codes
(string
; allowed values: [organization.not_found
]) - The error codes associated with the response
-
Request example
editcurl -XGET https://{{hostname}}/api/v1/trusted-environments \ -H "Authorization: ApiKey $ECE_API_KEY"