Environment Variables

POST /api/v3/accounts/{account_id}/projects/{project_id}/environment-variables/

Changed on

Request

  • Base URL
    https://cloud.getdbt.com
  • Auth
    HTTP bearer

Path parameters

account_idinteger required
project_idinteger required

Request body

account_idinteger required
project_idinteger required
namestring required
type'project' | 'environment' | 'job' | 'user' required
  • project - project
  • environment - environment
  • job - job
  • user - user
user_idinteger
environment_idinteger
job_definition_idinteger
raw_valuestring
display_valuestring
stateinteger

A value of 1 means this entity is active and a value of 2 means this entity is deleted

Example request

{
  "state": 1
}

Response

Example response

{
  "data": {
    "state": 1,
    "environment": {
      "state": 1
    }
  }
}

Changes

    • info

      added the required property ////// to the response with the status

    • breaking

      for the path request parameter account_id, the format changed from no format to int64

    • breaking

      for the path request parameter project_id, the format changed from no format to int64