sites
Create Multidev Environment
Creates a new multidev environment for a site.
post/v0/sites/{site_id}/environments
Request
- Base URLhttps://api.pantheon.io
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
site_idstring required
Site UUID
Request body
Example request
{
"clone_database": true,
"clone_files": true,
"environment_name": "feature-branch",
"from_environment": "dev"
}Response
Example response
{
"active_description": "Creating database backup",
"id": "12345678-1234-1234-1234-123456789012",
"number_of_tasks": 5
}Changes
No recorded changes to this operation across all 2 revisions of this API.