hosting

PUT /api/v1/hosting/apps/{app_id}/environments/{id}

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/{id}
  • Auth
    HTTP bearer

Path parameters

app_idstring required
idstring required

Request body

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

Response

Updated app environment

Changes

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