Groundfloor Docs

Environments API

List and manage workspace environments used as promote and deploy targets.

Environments (typically dev, staging, prod) are created with a workspace and used by promotion and deploy flows.

See also: Environment Promotion · Workspaces

List / create (workspace)

MethodPathPermissionNotes
GET/v1/workspaces/{workspace_id}/environmentsread
POSTsamewriteBody: { "name": "qa" }
PATCH…/environments/{environment_id}writename?, status? (active|suspended)
DELETE…/environments/{environment_id}delete

Get by id

GET /v1/environments/{environment_id}

Permission: read on the environment

Promote channels

Promotion is not a single environments endpoint — use the resource APIs:

ChannelCompare / promote
Secrets/v1/workspaces/{id}/secrets/compare|promote
FlagsFlags API
AppsApps API
CoderunnersCoderunners API