List the Environments the caller may operate in
/portal/v1/accounts/{accountSlug}/workspace-environmentsAuthentication
Bearer Token
AuthorizationJWT access token. Never send alongside X-API-Key: a request carrying both is refused.
Responses
application/json
items *WorkspaceEnvironmentResponseDto[]
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/portal/v1/accounts/{accountSlug}/workspace-environments" \ -H "Authorization: Bearer $CANOPY_TOKEN"
{ "items": [ { "environment_id": "string", "environment_slug": "string", "environment_name": "string", "application_slug": "string", "application_name": "string" } ] }
Tell us how we can improve this guide.