Servers

Bulk-sync environment variables for a server. Replaces all existing variables for the targeted branch scope with the provided list. Optional ?branch=NAME scopes the sync to that branch (default: production / branch IS NULL).

put/api/v1/servers/{id}/env-variables

Request

  • Base URL: https://cloud.manufact.com
  • URL: https://cloud.manufact.com/api/v1/servers/{id}/env-variables
  • Auth: none declared

Path parameters

idstring uuid required

Query parameters

branchstring

Request body

keystring required
valuestring nullable required
environmentsstring[]
phase'runtime' | 'build' | 'both'
sensitiveboolean
branchstring nullable

Response

OK

idstring required
serverIdstring required
keystring required
valuestring nullable required
environmentsstring[] required
phasestring required
sensitiveboolean required
branchstring nullable required
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.