Skip to main content
POST
Transform Folder into Stack
Creates a stack from every application and database in a folder. The folder stays. With inject_variables: true the platform adds the connection variables and the certificates to the applications; with false the applications are assumed to connect on their own. Needs the stacks:write scope when called with an API key.
string
required
The folder to take the resources from.
string
The workspace of the folder. Absent means your own folder.
string
The stack name. Optional.
boolean
required
Whether the platform creates the connections and injects the variables and certificates.
object[]
Connections to create when inject_variables is true. Each item has app_id, database_id and an optional env_map (see Create Connection).

Response

201 with the stack, the same as Create Stack, including restart_required and apps_to_restart.

Errors

Last modified on October 28, 2026