hosting

POST /api/v1/hosting/apps/{app_id}/environments

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/hosting/apps/{app_id}/environments
  • Auth
    HTTP bearer

Path parameters

app_idstring required

Request body

slugstring required
namestring required
kind'production' | 'staging' | 'development' | 'preview' | 'ephemeral' | 'custom' required
status'active' | 'paused' | 'archived' required
location_idstring required
branch_patternstring
base_domainstring
auto_deployboolean required

Response

App environment created

Changes

No recorded changes to this operation across all 4 revisions of this API.