Environment Variables

Create an environment variable

Creates a new environment variable for the project. Variables can be locked to prevent value visibility and scoped to the build pipeline.

post/projects/{project_id}/environment_variables

Request

  • Base URL: https://sg.deployhq.com
  • URL: https://sg.deployhq.com/projects/{project_id}/environment_variables
  • Auth: HTTP basic

Path parameters

project_idstring required

The identifier or permalink of the project

Request body

Response

Success

identifierinteger
namestring
masked_valuestring
lockedboolean
build_pipelineboolean
created_atstring
updated_atstring

Changes

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