// Environments

List environments

List the deployment environments in a workspace.

GET/api/environment

Description

Returns the workspace's environments with their sort order and display color.

Parameters

NameInTypeRequiredDescription
workspaceId query string yes ID of the workspace.

Errors

StatusMeaning
400 Invalid workspaceId.
401 Missing or invalid Basic auth credentials, or the service account lacks the required role.