sites
Deploy Environment
Deploys code to an environment.
post/v0/sites/{site_id}/environments/{env_id}/deploy
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
env_idstring required
Environment ID
Request body
Example request
{
"note": "Deploy from API"
}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.