Environment Variables

Get an environment variable

Returns details of a specific environment variable. Locked variables will have their values masked.

get/projects/{project_id}/environment_variables/{id}

Request

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

Path parameters

project_idstring required

The identifier or permalink of the project

idstring required

The identifier of the environment variable

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.