For the complete documentation index, see llms.txt. This page is also available as Markdown.

Variable Sets

Variable Sets Service handles the API for managing variable sets assigned to workspaces.

Create a new Variable Set on project level

post

Create a new Variable Set on project level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: kje
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: o2b
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 26h
Body
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
idinteger · int64Optional

ID PK for internal uses

Example: 1222138260473291800
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: 3xvPattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
Responses
201

Created response.

application/json

Create-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 14
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: t1wPattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: cd
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: 2
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
post/api/orgs/{org}/projects/{project}/variable-set
POST /api/orgs/{org}/projects/{project}/variable-set HTTP/1.1
Host: localhost:80
Harness-Account: 26h
Content-Type: application/json
Accept: */*
Content-Length: 2133

{
  "connectors": [
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    },
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Corporis mollitia sed consequatur.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    },
    "In amet aut.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    },
    "Nobis fuga.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "id": 3518994889074110000,
  "identifier": "hw",
  "name": "resource name",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Adipisci esse doloribus id tenetur.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    },
    "Sed aspernatur vero.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "updated": 1627686800
}
{
  "account": "13",
  "connectors": [
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Provident blanditiis minima sint vel officia.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "identifier": "501",
  "name": "resource name",
  "org": "xr",
  "project": "dd9",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Ipsum voluptates error minima at voluptatem in.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "updated": 1627686800
}

Delete Variable Set by query identifier on project level

delete

Delete Variable Set on project level using identifier as a query parameter. Required when the identifier contains characters that are unsafe in URL paths (e.g. '/').

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: f
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: n
Query parameters
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: h0
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: q
Responses
204

No Content response.

No content

delete/api/orgs/{org}/projects/{project}/variable-set
DELETE /api/orgs/{org}/projects/{project}/variable-set?identifier=h0 HTTP/1.1
Host: localhost:80
Harness-Account: q
Accept: */*

No content

Get Variable Set by identifier on project level

get

Get Variable Set by identifier on project level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: m86
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: 7o
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: agc
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: hb
Responses
200

OK response.

application/json

Get-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 4z
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: 1Pattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: 0te
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: ey
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
get/api/orgs/{org}/projects/{project}/variable-set/{identifier}
GET /api/orgs/{org}/projects/{project}/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: hb
Accept: */*
{
  "account": "xdd",
  "connectors": [
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Rem illum accusantium ut voluptate.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    },
    "Sed assumenda.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "identifier": "yoz",
  "name": "resource name",
  "org": "5",
  "project": "pnv",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Placeat quidem velit explicabo.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "updated": 1627686800
}

Update a Variable Set on project level

put

Update a Variable Set on project level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: 5a8
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: oa
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: 8pPattern: ^[^/?#\s]+$
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 8qh
Body
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
idinteger · int64Optional

ID PK for internal uses

Example: 2245180533286336000
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
Responses
200

OK response.

application/json

Create-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 14
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: t1wPattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: cd
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: 2
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
put/api/orgs/{org}/projects/{project}/variable-set/{identifier}
PUT /api/orgs/{org}/projects/{project}/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: 8qh
Content-Type: application/json
Accept: */*
Content-Length: 2667

{
  "connectors": [
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    },
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    },
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    },
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Assumenda explicabo eum fuga ratione sit harum.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    },
    "Perferendis rerum maiores enim iste.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "id": 4994396432866402000,
  "name": "resource name",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Maiores laborum.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    },
    "Reprehenderit dicta nisi dolores dolore ipsum sapiente.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    },
    "Ut fuga minus sed iure expedita.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "updated": 1627686800
}
{
  "account": "13",
  "connectors": [
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Provident blanditiis minima sint vel officia.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "identifier": "501",
  "name": "resource name",
  "org": "xr",
  "project": "dd9",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Ipsum voluptates error minima at voluptatem in.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "updated": 1627686800
}

Delete Variable Set by identifier on project level

delete

Delete Variable Set by identifier on project level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: qr
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: m
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: 5x7
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: k97
Responses
204

No Content response.

No content

delete/api/orgs/{org}/projects/{project}/variable-set/{identifier}
DELETE /api/orgs/{org}/projects/{project}/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: k97
Accept: */*

No content

Get Variable Set References list on project level

get

Get Variable Set References list on project level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: 5qa
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: 3
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: taa
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: iq
Responses
200

OK response.

application/json
get/api/orgs/{org}/projects/{project}/variable-set/{identifier}/references
GET /api/orgs/{org}/projects/{project}/variable-set/{identifier}/references HTTP/1.1
Host: localhost:80
Harness-Account: iq
Accept: */*
{
  "items": [
    {
      "account": "l",
      "associated_template": {
        "template_id": "sd",
        "version": "4j"
      },
      "backend_locked": false,
      "budget": 0.27371624,
      "ccm_cost_enabled": true,
      "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_estimation_enabled": true,
      "created": 428375767912060860,
      "default_pipelines": {
        "Minus assumenda alias quod molestiae.": {
          "project_pipeline": "Adipisci est eum est ipsa dolor laborum.",
          "workspace_pipeline": "Iusto enim."
        }
      },
      "description": "this is a more detailed explanation of the resource.",
      "environment_variables": {
        "At et.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        },
        "Voluptas velit.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "id": 1480116103255821800,
      "identifier": "s",
      "lock": {
        "created_at": 7453500378553964000,
        "id": "Aut saepe tenetur possimus voluptatem quidem.",
        "locked_by_display_name": "Reprehenderit expedita atque aut.",
        "locked_by_principal_id": "Magnam eligendi neque odio.",
        "locked_by_principal_type": "Quis et qui ratione nostrum.",
        "manual": false,
        "reason": "Et autem ipsum tempora sed et animi."
      },
      "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "name": "resource name",
      "org": "q",
      "project": "fo",
      "provider_connector": "Perferendis ab sunt.",
      "provider_connectors": [
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        },
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        }
      ],
      "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "provisioner": "Fugiat iure alias nihil sed voluptate hic.",
      "provisioner_configuration": "Natus eum recusandae fugit officiis delectus omnis.",
      "provisioner_data": "Dolores vitae natus incidunt ipsam ut.",
      "provisioner_version": "Omnis et maxime sunt.",
      "prune_sensitive_data": true,
      "repository": "Aut temporibus et aperiam dignissimos tenetur.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Voluptas amet et.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "repository_submodules": "recursive",
      "run_all": false,
      "sparse_checkout": "Ullam quasi distinctio nostrum ducimus.",
      "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
      "status": "rollback_applied",
      "tags": {
        "cost-center": "engineering",
        "environment": "production",
        "team": "platform"
      },
      "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
      "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
      "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "terraform_variable_files": [
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        }
      ],
      "terraform_variables": {
        "Et asperiores.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "terragrunt_provider": true,
      "terragrunt_version": "Maxime aliquam eveniet.",
      "updated": 1100854962400415200,
      "variable_sets": [
        "Et ad et amet voluptatibus est.",
        "Molestias eos numquam quis maxime aut."
      ]
    },
    {
      "account": "l",
      "associated_template": {
        "template_id": "sd",
        "version": "4j"
      },
      "backend_locked": false,
      "budget": 0.27371624,
      "ccm_cost_enabled": true,
      "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_estimation_enabled": true,
      "created": 428375767912060860,
      "default_pipelines": {
        "Minus assumenda alias quod molestiae.": {
          "project_pipeline": "Adipisci est eum est ipsa dolor laborum.",
          "workspace_pipeline": "Iusto enim."
        }
      },
      "description": "this is a more detailed explanation of the resource.",
      "environment_variables": {
        "At et.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        },
        "Voluptas velit.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "id": 1480116103255821800,
      "identifier": "s",
      "lock": {
        "created_at": 7453500378553964000,
        "id": "Aut saepe tenetur possimus voluptatem quidem.",
        "locked_by_display_name": "Reprehenderit expedita atque aut.",
        "locked_by_principal_id": "Magnam eligendi neque odio.",
        "locked_by_principal_type": "Quis et qui ratione nostrum.",
        "manual": false,
        "reason": "Et autem ipsum tempora sed et animi."
      },
      "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "name": "resource name",
      "org": "q",
      "project": "fo",
      "provider_connector": "Perferendis ab sunt.",
      "provider_connectors": [
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        },
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        }
      ],
      "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "provisioner": "Fugiat iure alias nihil sed voluptate hic.",
      "provisioner_configuration": "Natus eum recusandae fugit officiis delectus omnis.",
      "provisioner_data": "Dolores vitae natus incidunt ipsam ut.",
      "provisioner_version": "Omnis et maxime sunt.",
      "prune_sensitive_data": true,
      "repository": "Aut temporibus et aperiam dignissimos tenetur.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Voluptas amet et.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "repository_submodules": "recursive",
      "run_all": false,
      "sparse_checkout": "Ullam quasi distinctio nostrum ducimus.",
      "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
      "status": "rollback_applied",
      "tags": {
        "cost-center": "engineering",
        "environment": "production",
        "team": "platform"
      },
      "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
      "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
      "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "terraform_variable_files": [
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        }
      ],
      "terraform_variables": {
        "Et asperiores.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "terragrunt_provider": true,
      "terragrunt_version": "Maxime aliquam eveniet.",
      "updated": 1100854962400415200,
      "variable_sets": [
        "Et ad et amet voluptatibus est.",
        "Molestias eos numquam quis maxime aut."
      ]
    },
    {
      "account": "l",
      "associated_template": {
        "template_id": "sd",
        "version": "4j"
      },
      "backend_locked": false,
      "budget": 0.27371624,
      "ccm_cost_enabled": true,
      "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_estimation_enabled": true,
      "created": 428375767912060860,
      "default_pipelines": {
        "Minus assumenda alias quod molestiae.": {
          "project_pipeline": "Adipisci est eum est ipsa dolor laborum.",
          "workspace_pipeline": "Iusto enim."
        }
      },
      "description": "this is a more detailed explanation of the resource.",
      "environment_variables": {
        "At et.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        },
        "Voluptas velit.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "id": 1480116103255821800,
      "identifier": "s",
      "lock": {
        "created_at": 7453500378553964000,
        "id": "Aut saepe tenetur possimus voluptatem quidem.",
        "locked_by_display_name": "Reprehenderit expedita atque aut.",
        "locked_by_principal_id": "Magnam eligendi neque odio.",
        "locked_by_principal_type": "Quis et qui ratione nostrum.",
        "manual": false,
        "reason": "Et autem ipsum tempora sed et animi."
      },
      "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "name": "resource name",
      "org": "q",
      "project": "fo",
      "provider_connector": "Perferendis ab sunt.",
      "provider_connectors": [
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        },
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        }
      ],
      "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "provisioner": "Fugiat iure alias nihil sed voluptate hic.",
      "provisioner_configuration": "Natus eum recusandae fugit officiis delectus omnis.",
      "provisioner_data": "Dolores vitae natus incidunt ipsam ut.",
      "provisioner_version": "Omnis et maxime sunt.",
      "prune_sensitive_data": true,
      "repository": "Aut temporibus et aperiam dignissimos tenetur.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Voluptas amet et.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "repository_submodules": "recursive",
      "run_all": false,
      "sparse_checkout": "Ullam quasi distinctio nostrum ducimus.",
      "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
      "status": "rollback_applied",
      "tags": {
        "cost-center": "engineering",
        "environment": "production",
        "team": "platform"
      },
      "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
      "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
      "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "terraform_variable_files": [
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        }
      ],
      "terraform_variables": {
        "Et asperiores.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "terragrunt_provider": true,
      "terragrunt_version": "Maxime aliquam eveniet.",
      "updated": 1100854962400415200,
      "variable_sets": [
        "Et ad et amet voluptatibus est.",
        "Molestias eos numquam quis maxime aut."
      ]
    }
  ]
}

Get Variable Set list on project level

get

Get Variable Set list on project level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: gh
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: rbo
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: us
Responses
200

OK response.

application/json
get/api/orgs/{org}/projects/{project}/variable-sets
GET /api/orgs/{org}/projects/{project}/variable-sets HTTP/1.1
Host: localhost:80
Harness-Account: us
Accept: */*
{
  "items": [
    {
      "account": "e",
      "connectors": [
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        }
      ],
      "created": 1627590400,
      "description": "this is a more detailed explanation of the resource.",
      "env_vars_count": 2822961649872163300,
      "environment_variables": {
        "Ex facere ducimus accusantium.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        },
        "Quam exercitationem dolore nihil eaque sint modi.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "id": 3732375073621862400,
      "identifier": "7l8",
      "name": "resource name",
      "org": "s",
      "project": "v5",
      "terraform_variable_files": [
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        }
      ],
      "terraform_variables": {
        "Quasi saepe earum dolores ea culpa odio.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "tf_vars_count": 3798146291237058000,
      "updated": 1627686800,
      "var_files_count": 156121988512974820
    },
    {
      "account": "e",
      "connectors": [
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        }
      ],
      "created": 1627590400,
      "description": "this is a more detailed explanation of the resource.",
      "env_vars_count": 2822961649872163300,
      "environment_variables": {
        "Ex facere ducimus accusantium.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        },
        "Quam exercitationem dolore nihil eaque sint modi.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "id": 3732375073621862400,
      "identifier": "7l8",
      "name": "resource name",
      "org": "s",
      "project": "v5",
      "terraform_variable_files": [
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        }
      ],
      "terraform_variables": {
        "Quasi saepe earum dolores ea culpa odio.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "tf_vars_count": 3798146291237058000,
      "updated": 1627686800,
      "var_files_count": 156121988512974820
    },
    {
      "account": "e",
      "connectors": [
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        }
      ],
      "created": 1627590400,
      "description": "this is a more detailed explanation of the resource.",
      "env_vars_count": 2822961649872163300,
      "environment_variables": {
        "Ex facere ducimus accusantium.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        },
        "Quam exercitationem dolore nihil eaque sint modi.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "id": 3732375073621862400,
      "identifier": "7l8",
      "name": "resource name",
      "org": "s",
      "project": "v5",
      "terraform_variable_files": [
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        }
      ],
      "terraform_variables": {
        "Quasi saepe earum dolores ea culpa odio.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "tf_vars_count": 3798146291237058000,
      "updated": 1627686800,
      "var_files_count": 156121988512974820
    }
  ]
}

Create a new Variable Set on org level

post

Create a new Variable Set on org level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: q5
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: q9
Body
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
idinteger · int64Optional

ID PK for internal uses

Example: 6938366508368176000
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: 1d8Pattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
Responses
201

Created response.

application/json

Create-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 14
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: t1wPattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: cd
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: 2
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
post/api/orgs/{org}/variable-set
POST /api/orgs/{org}/variable-set HTTP/1.1
Host: localhost:80
Harness-Account: q9
Content-Type: application/json
Accept: */*
Content-Length: 1829

{
  "connectors": [
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    },
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Inventore consequatur qui dolores ipsum autem.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "id": 5895057065149330000,
  "identifier": "7",
  "name": "resource name",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Eligendi corporis eum.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    },
    "Totam aut in recusandae et aut non.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "updated": 1627686800
}
{
  "account": "13",
  "connectors": [
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Provident blanditiis minima sint vel officia.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "identifier": "501",
  "name": "resource name",
  "org": "xr",
  "project": "dd9",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Ipsum voluptates error minima at voluptatem in.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "updated": 1627686800
}

Delete Variable Set by query identifier on org level

delete

Delete Variable Set on org level using identifier as a query parameter. Required when the identifier contains characters that are unsafe in URL paths (e.g. '/').

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: f
Query parameters
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: r
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: r
Responses
204

No Content response.

No content

delete/api/orgs/{org}/variable-set
DELETE /api/orgs/{org}/variable-set?identifier=r HTTP/1.1
Host: localhost:80
Harness-Account: r
Accept: */*

No content

Get Variable Set by identifier on org level

get

Get Variable Set by identifier on org level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: mhi
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: 7
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 39r
Responses
200

OK response.

application/json

Get-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 4z
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: 1Pattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: 0te
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: ey
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
get/api/orgs/{org}/variable-set/{identifier}
GET /api/orgs/{org}/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: 39r
Accept: */*
{
  "account": "xdd",
  "connectors": [
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Rem illum accusantium ut voluptate.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    },
    "Sed assumenda.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "identifier": "yoz",
  "name": "resource name",
  "org": "5",
  "project": "pnv",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Placeat quidem velit explicabo.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "updated": 1627686800
}

Update a Variable Set on org level

put

Update a Variable Set on org level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: kqk
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: kjPattern: ^[^/?#\s]+$
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 94
Body
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
idinteger · int64Optional

ID PK for internal uses

Example: 3018521076081801700
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
Responses
200

OK response.

application/json

Create-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 14
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: t1wPattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: cd
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: 2
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
put/api/orgs/{org}/variable-set/{identifier}
PUT /api/orgs/{org}/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: 94
Content-Type: application/json
Accept: */*
Content-Length: 1586

{
  "connectors": [
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    },
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "In dolores.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "id": 102706403428451150,
  "name": "resource name",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Et blanditiis.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "updated": 1627686800
}
{
  "account": "13",
  "connectors": [
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Provident blanditiis minima sint vel officia.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "identifier": "501",
  "name": "resource name",
  "org": "xr",
  "project": "dd9",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Ipsum voluptates error minima at voluptatem in.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "updated": 1627686800
}

Delete Variable Set by identifier on org level

delete

Delete Variable Set by identifier on org level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: kf6
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: sl4
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: l
Responses
204

No Content response.

No content

delete/api/orgs/{org}/variable-set/{identifier}
DELETE /api/orgs/{org}/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: l
Accept: */*

No content

Get Variable Set References list on org level

get

Get Variable Set References list on org level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: vkj
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: 6kx
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 3
Responses
200

OK response.

application/json
get/api/orgs/{org}/variable-set/{identifier}/references
GET /api/orgs/{org}/variable-set/{identifier}/references HTTP/1.1
Host: localhost:80
Harness-Account: 3
Accept: */*
{
  "items": [
    {
      "account": "l",
      "associated_template": {
        "template_id": "sd",
        "version": "4j"
      },
      "backend_locked": false,
      "budget": 0.27371624,
      "ccm_cost_enabled": true,
      "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_estimation_enabled": true,
      "created": 428375767912060860,
      "default_pipelines": {
        "Minus assumenda alias quod molestiae.": {
          "project_pipeline": "Adipisci est eum est ipsa dolor laborum.",
          "workspace_pipeline": "Iusto enim."
        }
      },
      "description": "this is a more detailed explanation of the resource.",
      "environment_variables": {
        "At et.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        },
        "Voluptas velit.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "id": 1480116103255821800,
      "identifier": "s",
      "lock": {
        "created_at": 7453500378553964000,
        "id": "Aut saepe tenetur possimus voluptatem quidem.",
        "locked_by_display_name": "Reprehenderit expedita atque aut.",
        "locked_by_principal_id": "Magnam eligendi neque odio.",
        "locked_by_principal_type": "Quis et qui ratione nostrum.",
        "manual": false,
        "reason": "Et autem ipsum tempora sed et animi."
      },
      "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "name": "resource name",
      "org": "q",
      "project": "fo",
      "provider_connector": "Perferendis ab sunt.",
      "provider_connectors": [
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        },
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        }
      ],
      "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "provisioner": "Fugiat iure alias nihil sed voluptate hic.",
      "provisioner_configuration": "Natus eum recusandae fugit officiis delectus omnis.",
      "provisioner_data": "Dolores vitae natus incidunt ipsam ut.",
      "provisioner_version": "Omnis et maxime sunt.",
      "prune_sensitive_data": true,
      "repository": "Aut temporibus et aperiam dignissimos tenetur.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Voluptas amet et.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "repository_submodules": "recursive",
      "run_all": false,
      "sparse_checkout": "Ullam quasi distinctio nostrum ducimus.",
      "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
      "status": "rollback_applied",
      "tags": {
        "cost-center": "engineering",
        "environment": "production",
        "team": "platform"
      },
      "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
      "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
      "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "terraform_variable_files": [
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        }
      ],
      "terraform_variables": {
        "Et asperiores.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "terragrunt_provider": true,
      "terragrunt_version": "Maxime aliquam eveniet.",
      "updated": 1100854962400415200,
      "variable_sets": [
        "Et ad et amet voluptatibus est.",
        "Molestias eos numquam quis maxime aut."
      ]
    },
    {
      "account": "l",
      "associated_template": {
        "template_id": "sd",
        "version": "4j"
      },
      "backend_locked": false,
      "budget": 0.27371624,
      "ccm_cost_enabled": true,
      "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_estimation_enabled": true,
      "created": 428375767912060860,
      "default_pipelines": {
        "Minus assumenda alias quod molestiae.": {
          "project_pipeline": "Adipisci est eum est ipsa dolor laborum.",
          "workspace_pipeline": "Iusto enim."
        }
      },
      "description": "this is a more detailed explanation of the resource.",
      "environment_variables": {
        "At et.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        },
        "Voluptas velit.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "id": 1480116103255821800,
      "identifier": "s",
      "lock": {
        "created_at": 7453500378553964000,
        "id": "Aut saepe tenetur possimus voluptatem quidem.",
        "locked_by_display_name": "Reprehenderit expedita atque aut.",
        "locked_by_principal_id": "Magnam eligendi neque odio.",
        "locked_by_principal_type": "Quis et qui ratione nostrum.",
        "manual": false,
        "reason": "Et autem ipsum tempora sed et animi."
      },
      "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "name": "resource name",
      "org": "q",
      "project": "fo",
      "provider_connector": "Perferendis ab sunt.",
      "provider_connectors": [
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        },
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        }
      ],
      "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "provisioner": "Fugiat iure alias nihil sed voluptate hic.",
      "provisioner_configuration": "Natus eum recusandae fugit officiis delectus omnis.",
      "provisioner_data": "Dolores vitae natus incidunt ipsam ut.",
      "provisioner_version": "Omnis et maxime sunt.",
      "prune_sensitive_data": true,
      "repository": "Aut temporibus et aperiam dignissimos tenetur.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Voluptas amet et.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "repository_submodules": "recursive",
      "run_all": false,
      "sparse_checkout": "Ullam quasi distinctio nostrum ducimus.",
      "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
      "status": "rollback_applied",
      "tags": {
        "cost-center": "engineering",
        "environment": "production",
        "team": "platform"
      },
      "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
      "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
      "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "terraform_variable_files": [
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        }
      ],
      "terraform_variables": {
        "Et asperiores.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "terragrunt_provider": true,
      "terragrunt_version": "Maxime aliquam eveniet.",
      "updated": 1100854962400415200,
      "variable_sets": [
        "Et ad et amet voluptatibus est.",
        "Molestias eos numquam quis maxime aut."
      ]
    },
    {
      "account": "l",
      "associated_template": {
        "template_id": "sd",
        "version": "4j"
      },
      "backend_locked": false,
      "budget": 0.27371624,
      "ccm_cost_enabled": true,
      "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_estimation_enabled": true,
      "created": 428375767912060860,
      "default_pipelines": {
        "Minus assumenda alias quod molestiae.": {
          "project_pipeline": "Adipisci est eum est ipsa dolor laborum.",
          "workspace_pipeline": "Iusto enim."
        }
      },
      "description": "this is a more detailed explanation of the resource.",
      "environment_variables": {
        "At et.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        },
        "Voluptas velit.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "id": 1480116103255821800,
      "identifier": "s",
      "lock": {
        "created_at": 7453500378553964000,
        "id": "Aut saepe tenetur possimus voluptatem quidem.",
        "locked_by_display_name": "Reprehenderit expedita atque aut.",
        "locked_by_principal_id": "Magnam eligendi neque odio.",
        "locked_by_principal_type": "Quis et qui ratione nostrum.",
        "manual": false,
        "reason": "Et autem ipsum tempora sed et animi."
      },
      "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "name": "resource name",
      "org": "q",
      "project": "fo",
      "provider_connector": "Perferendis ab sunt.",
      "provider_connectors": [
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        },
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        }
      ],
      "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "provisioner": "Fugiat iure alias nihil sed voluptate hic.",
      "provisioner_configuration": "Natus eum recusandae fugit officiis delectus omnis.",
      "provisioner_data": "Dolores vitae natus incidunt ipsam ut.",
      "provisioner_version": "Omnis et maxime sunt.",
      "prune_sensitive_data": true,
      "repository": "Aut temporibus et aperiam dignissimos tenetur.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Voluptas amet et.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "repository_submodules": "recursive",
      "run_all": false,
      "sparse_checkout": "Ullam quasi distinctio nostrum ducimus.",
      "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
      "status": "rollback_applied",
      "tags": {
        "cost-center": "engineering",
        "environment": "production",
        "team": "platform"
      },
      "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
      "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
      "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "terraform_variable_files": [
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        }
      ],
      "terraform_variables": {
        "Et asperiores.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "terragrunt_provider": true,
      "terragrunt_version": "Maxime aliquam eveniet.",
      "updated": 1100854962400415200,
      "variable_sets": [
        "Et ad et amet voluptatibus est.",
        "Molestias eos numquam quis maxime aut."
      ]
    }
  ]
}

Get Variable Set list on org level

get

Get Variable Set list on org level.

Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: xfp
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: m9j
Responses
200

OK response.

application/json
get/api/orgs/{org}/variable-sets
GET /api/orgs/{org}/variable-sets HTTP/1.1
Host: localhost:80
Harness-Account: m9j
Accept: */*
{
  "items": [
    {
      "account": "e",
      "connectors": [
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        }
      ],
      "created": 1627590400,
      "description": "this is a more detailed explanation of the resource.",
      "env_vars_count": 2822961649872163300,
      "environment_variables": {
        "Ex facere ducimus accusantium.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        },
        "Quam exercitationem dolore nihil eaque sint modi.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "id": 3732375073621862400,
      "identifier": "7l8",
      "name": "resource name",
      "org": "s",
      "project": "v5",
      "terraform_variable_files": [
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        }
      ],
      "terraform_variables": {
        "Quasi saepe earum dolores ea culpa odio.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "tf_vars_count": 3798146291237058000,
      "updated": 1627686800,
      "var_files_count": 156121988512974820
    },
    {
      "account": "e",
      "connectors": [
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        }
      ],
      "created": 1627590400,
      "description": "this is a more detailed explanation of the resource.",
      "env_vars_count": 2822961649872163300,
      "environment_variables": {
        "Ex facere ducimus accusantium.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        },
        "Quam exercitationem dolore nihil eaque sint modi.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "id": 3732375073621862400,
      "identifier": "7l8",
      "name": "resource name",
      "org": "s",
      "project": "v5",
      "terraform_variable_files": [
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        }
      ],
      "terraform_variables": {
        "Quasi saepe earum dolores ea culpa odio.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "tf_vars_count": 3798146291237058000,
      "updated": 1627686800,
      "var_files_count": 156121988512974820
    },
    {
      "account": "e",
      "connectors": [
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        }
      ],
      "created": 1627590400,
      "description": "this is a more detailed explanation of the resource.",
      "env_vars_count": 2822961649872163300,
      "environment_variables": {
        "Ex facere ducimus accusantium.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        },
        "Quam exercitationem dolore nihil eaque sint modi.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "id": 3732375073621862400,
      "identifier": "7l8",
      "name": "resource name",
      "org": "s",
      "project": "v5",
      "terraform_variable_files": [
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        }
      ],
      "terraform_variables": {
        "Quasi saepe earum dolores ea culpa odio.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "tf_vars_count": 3798146291237058000,
      "updated": 1627686800,
      "var_files_count": 156121988512974820
    }
  ]
}

Create a new Variable Set on account level

post

Create a new Variable Set on account level.

Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: ij9
Body
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
idinteger · int64Optional

ID PK for internal uses

Example: 6495911962351717000
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: qPattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
Responses
201

Created response.

application/json

Create-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 14
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: t1wPattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: cd
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: 2
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
post/api/variable-set
POST /api/variable-set HTTP/1.1
Host: localhost:80
Harness-Account: ij9
Content-Type: application/json
Accept: */*
Content-Length: 2277

{
  "connectors": [
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    },
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Dolor et voluptatem sed repellendus accusamus.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "id": 5714267073566024000,
  "identifier": "0",
  "name": "resource name",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Pariatur omnis.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    },
    "Sit consectetur soluta harum sequi omnis.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    },
    "Voluptate iusto temporibus beatae.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "updated": 1627686800
}
{
  "account": "13",
  "connectors": [
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Provident blanditiis minima sint vel officia.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "identifier": "501",
  "name": "resource name",
  "org": "xr",
  "project": "dd9",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Ipsum voluptates error minima at voluptatem in.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "updated": 1627686800
}

Delete Variable Set by query identifier on account level

delete

Delete Variable Set on account level using identifier as a query parameter. Required when the identifier contains characters that are unsafe in URL paths (e.g. '/').

Query parameters
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: v
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: cm5
Responses
204

No Content response.

No content

delete/api/variable-set
DELETE /api/variable-set?identifier=v HTTP/1.1
Host: localhost:80
Harness-Account: cm5
Accept: */*

No content

Get Variable Set by identifier on account level

get

Get Variable Set by identifier on account level.

Path parameters
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: uvu
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 8
Responses
200

OK response.

application/json

Get-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 4z
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: 1Pattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: 0te
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: ey
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
get/api/variable-set/{identifier}
GET /api/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: 8
Accept: */*
{
  "account": "xdd",
  "connectors": [
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Rem illum accusantium ut voluptate.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    },
    "Sed assumenda.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "identifier": "yoz",
  "name": "resource name",
  "org": "5",
  "project": "pnv",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Placeat quidem velit explicabo.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "updated": 1627686800
}

Update a Variable Set on account level

put

Update a Variable Set on account level.

Path parameters
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: iPattern: ^[^/?#\s]+$
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: i5y
Body
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
idinteger · int64Optional

ID PK for internal uses

Example: 3505779982190786000
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
Responses
200

OK response.

application/json

Create-Variable-Set-Account-LevelResponseBody result type (default view)

accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 14
createdinteger · int64Optional

Timestamp when the variable set was created.

Example: 1627590400
descriptionstringOptional

Description provides long-form text about the resource.

Example: this is a more detailed explanation of the resource.
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: t1wPattern: ^[^/?#\s]+$
namestring · min: 1 · max: 128Required

Name is the human readable name for the resource.

Example: resource name
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: cd
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: 2
updatedinteger · int64Optional

Timestamp when the variable set was last updated.

Example: 1627686800
put/api/variable-set/{identifier}
PUT /api/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: i5y
Content-Type: application/json
Accept: */*
Content-Length: 1883

{
  "connectors": [
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    },
    {
      "connector_ref": "sw",
      "created": 1627590400,
      "id": 2987356580748683000,
      "type": "vault",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Autem ea aut possimus aut inventore et.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "id": 3364712674955387400,
  "name": "resource name",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 717259835429626500,
      "repository": "Earum assumenda beatae.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Consectetur modi officiis qui.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Porro maiores.": {
      "created": 1627590400,
      "id": 1470367412383266300,
      "key": "zkn",
      "updated": 1627686800,
      "value": "Iure occaecati et accusantium.",
      "value_type": "number"
    }
  },
  "updated": 1627686800
}
{
  "account": "13",
  "connectors": [
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    },
    {
      "connector_ref": "h",
      "created": 1627590400,
      "id": 5607222634247158000,
      "type": "gcp",
      "updated": 1627686800
    }
  ],
  "created": 1627590400,
  "description": "this is a more detailed explanation of the resource.",
  "environment_variables": {
    "Provident blanditiis minima sint vel officia.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "identifier": "501",
  "name": "resource name",
  "org": "xr",
  "project": "dd9",
  "terraform_variable_files": [
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    },
    {
      "created": 1627590400,
      "id": 445714656493455600,
      "repository": "Consectetur ipsum.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Sequi sit earum.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "updated": 1627686800
    }
  ],
  "terraform_variables": {
    "Ipsum voluptates error minima at voluptatem in.": {
      "created": 1627590400,
      "id": 2388957144241164300,
      "key": "tf7",
      "updated": 1627686800,
      "value": "Placeat voluptatibus eum et ut.",
      "value_type": "boolean"
    }
  },
  "updated": 1627686800
}

Delete Variable Set by identifier on account level

delete

Delete Variable Set by identifier on account level.

Path parameters
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: to
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 1ui
Responses
204

No Content response.

No content

delete/api/variable-set/{identifier}
DELETE /api/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: 1ui
Accept: */*

No content

Get Variable Set References list on account level

get

Get Variable Set References list on account level.

Path parameters
identifierstring · min: 1 · max: 128Required

Identifier is the VariableSet identifier.

Example: q
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 5x
Responses
200

OK response.

application/json
get/api/variable-set/{identifier}/references
GET /api/variable-set/{identifier}/references HTTP/1.1
Host: localhost:80
Harness-Account: 5x
Accept: */*
{
  "items": [
    {
      "account": "l",
      "associated_template": {
        "template_id": "sd",
        "version": "4j"
      },
      "backend_locked": false,
      "budget": 0.27371624,
      "ccm_cost_enabled": true,
      "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_estimation_enabled": true,
      "created": 428375767912060860,
      "default_pipelines": {
        "Minus assumenda alias quod molestiae.": {
          "project_pipeline": "Adipisci est eum est ipsa dolor laborum.",
          "workspace_pipeline": "Iusto enim."
        }
      },
      "description": "this is a more detailed explanation of the resource.",
      "environment_variables": {
        "At et.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        },
        "Voluptas velit.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "id": 1480116103255821800,
      "identifier": "s",
      "lock": {
        "created_at": 7453500378553964000,
        "id": "Aut saepe tenetur possimus voluptatem quidem.",
        "locked_by_display_name": "Reprehenderit expedita atque aut.",
        "locked_by_principal_id": "Magnam eligendi neque odio.",
        "locked_by_principal_type": "Quis et qui ratione nostrum.",
        "manual": false,
        "reason": "Et autem ipsum tempora sed et animi."
      },
      "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "name": "resource name",
      "org": "q",
      "project": "fo",
      "provider_connector": "Perferendis ab sunt.",
      "provider_connectors": [
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        },
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        }
      ],
      "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "provisioner": "Fugiat iure alias nihil sed voluptate hic.",
      "provisioner_configuration": "Natus eum recusandae fugit officiis delectus omnis.",
      "provisioner_data": "Dolores vitae natus incidunt ipsam ut.",
      "provisioner_version": "Omnis et maxime sunt.",
      "prune_sensitive_data": true,
      "repository": "Aut temporibus et aperiam dignissimos tenetur.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Voluptas amet et.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "repository_submodules": "recursive",
      "run_all": false,
      "sparse_checkout": "Ullam quasi distinctio nostrum ducimus.",
      "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
      "status": "rollback_applied",
      "tags": {
        "cost-center": "engineering",
        "environment": "production",
        "team": "platform"
      },
      "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
      "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
      "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "terraform_variable_files": [
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        }
      ],
      "terraform_variables": {
        "Et asperiores.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "terragrunt_provider": true,
      "terragrunt_version": "Maxime aliquam eveniet.",
      "updated": 1100854962400415200,
      "variable_sets": [
        "Et ad et amet voluptatibus est.",
        "Molestias eos numquam quis maxime aut."
      ]
    },
    {
      "account": "l",
      "associated_template": {
        "template_id": "sd",
        "version": "4j"
      },
      "backend_locked": false,
      "budget": 0.27371624,
      "ccm_cost_enabled": true,
      "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_estimation_enabled": true,
      "created": 428375767912060860,
      "default_pipelines": {
        "Minus assumenda alias quod molestiae.": {
          "project_pipeline": "Adipisci est eum est ipsa dolor laborum.",
          "workspace_pipeline": "Iusto enim."
        }
      },
      "description": "this is a more detailed explanation of the resource.",
      "environment_variables": {
        "At et.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        },
        "Voluptas velit.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "id": 1480116103255821800,
      "identifier": "s",
      "lock": {
        "created_at": 7453500378553964000,
        "id": "Aut saepe tenetur possimus voluptatem quidem.",
        "locked_by_display_name": "Reprehenderit expedita atque aut.",
        "locked_by_principal_id": "Magnam eligendi neque odio.",
        "locked_by_principal_type": "Quis et qui ratione nostrum.",
        "manual": false,
        "reason": "Et autem ipsum tempora sed et animi."
      },
      "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "name": "resource name",
      "org": "q",
      "project": "fo",
      "provider_connector": "Perferendis ab sunt.",
      "provider_connectors": [
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        },
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        }
      ],
      "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "provisioner": "Fugiat iure alias nihil sed voluptate hic.",
      "provisioner_configuration": "Natus eum recusandae fugit officiis delectus omnis.",
      "provisioner_data": "Dolores vitae natus incidunt ipsam ut.",
      "provisioner_version": "Omnis et maxime sunt.",
      "prune_sensitive_data": true,
      "repository": "Aut temporibus et aperiam dignissimos tenetur.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Voluptas amet et.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "repository_submodules": "recursive",
      "run_all": false,
      "sparse_checkout": "Ullam quasi distinctio nostrum ducimus.",
      "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
      "status": "rollback_applied",
      "tags": {
        "cost-center": "engineering",
        "environment": "production",
        "team": "platform"
      },
      "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
      "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
      "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "terraform_variable_files": [
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        }
      ],
      "terraform_variables": {
        "Et asperiores.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "terragrunt_provider": true,
      "terragrunt_version": "Maxime aliquam eveniet.",
      "updated": 1100854962400415200,
      "variable_sets": [
        "Et ad et amet voluptatibus est.",
        "Molestias eos numquam quis maxime aut."
      ]
    },
    {
      "account": "l",
      "associated_template": {
        "template_id": "sd",
        "version": "4j"
      },
      "backend_locked": false,
      "budget": 0.27371624,
      "ccm_cost_enabled": true,
      "cost_breakdown_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_diff_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "cost_estimation_enabled": true,
      "created": 428375767912060860,
      "default_pipelines": {
        "Minus assumenda alias quod molestiae.": {
          "project_pipeline": "Adipisci est eum est ipsa dolor laborum.",
          "workspace_pipeline": "Iusto enim."
        }
      },
      "description": "this is a more detailed explanation of the resource.",
      "environment_variables": {
        "At et.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        },
        "Voluptas velit.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "id": 1480116103255821800,
      "identifier": "s",
      "lock": {
        "created_at": 7453500378553964000,
        "id": "Aut saepe tenetur possimus voluptatem quidem.",
        "locked_by_display_name": "Reprehenderit expedita atque aut.",
        "locked_by_principal_id": "Magnam eligendi neque odio.",
        "locked_by_principal_type": "Quis et qui ratione nostrum.",
        "manual": false,
        "reason": "Et autem ipsum tempora sed et animi."
      },
      "modules_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "name": "resource name",
      "org": "q",
      "project": "fo",
      "provider_connector": "Perferendis ab sunt.",
      "provider_connectors": [
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        },
        {
          "connector_ref": "p",
          "created": 1627590400,
          "id": 4460541123277276700,
          "terragrunt_provider": false,
          "type": "azure",
          "updated": 1627686800,
          "workspace_id": 8009101050086675000
        }
      ],
      "providers_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "provisioner": "Fugiat iure alias nihil sed voluptate hic.",
      "provisioner_configuration": "Natus eum recusandae fugit officiis delectus omnis.",
      "provisioner_data": "Dolores vitae natus incidunt ipsam ut.",
      "provisioner_version": "Omnis et maxime sunt.",
      "prune_sensitive_data": true,
      "repository": "Aut temporibus et aperiam dignissimos tenetur.",
      "repository_branch": "main",
      "repository_commit": "abc10ed",
      "repository_connector": "Voluptas amet et.",
      "repository_path": "",
      "repository_sha": "abc10ed",
      "repository_submodules": "recursive",
      "run_all": false,
      "sparse_checkout": "Ullam quasi distinctio nostrum ducimus.",
      "state_checksum": "d21c1662d8ce2c74f24efdc8db93eb34473b86810aeccca4b1518f70b0ccde8f",
      "status": "rollback_applied",
      "tags": {
        "cost-center": "engineering",
        "environment": "production",
        "team": "platform"
      },
      "terraform_plan_json": "f9e21473daaa2674d862b67a1339f4570e86de17",
      "terraform_state": "fc1200c7a7aa52109d762a9f005b149abef01479",
      "terraform_state_json": "c4a2d99bc28d236098a095277b7eb0718d6be068",
      "terraform_variable_files": [
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        },
        {
          "repository": "Temporibus enim ut labore aliquam.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Est nam repudiandae sunt ut cum.",
          "repository_path": "",
          "repository_sha": "abc10ed"
        }
      ],
      "terraform_variables": {
        "Et asperiores.": {
          "created": 1652001331763552000,
          "key": "0u",
          "updated": 5642278886442182000,
          "value": "Culpa voluptas voluptatem tenetur.",
          "value_type": "number"
        }
      },
      "terragrunt_provider": true,
      "terragrunt_version": "Maxime aliquam eveniet.",
      "updated": 1100854962400415200,
      "variable_sets": [
        "Et ad et amet voluptatibus est.",
        "Molestias eos numquam quis maxime aut."
      ]
    }
  ]
}

Get Variable Set list on account level

get

Get Variable Set list on account level.

Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: i
Responses
200

OK response.

application/json
get/api/variable-sets
GET /api/variable-sets HTTP/1.1
Host: localhost:80
Harness-Account: i
Accept: */*
{
  "items": [
    {
      "account": "e",
      "connectors": [
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        }
      ],
      "created": 1627590400,
      "description": "this is a more detailed explanation of the resource.",
      "env_vars_count": 2822961649872163300,
      "environment_variables": {
        "Ex facere ducimus accusantium.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        },
        "Quam exercitationem dolore nihil eaque sint modi.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "id": 3732375073621862400,
      "identifier": "7l8",
      "name": "resource name",
      "org": "s",
      "project": "v5",
      "terraform_variable_files": [
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        }
      ],
      "terraform_variables": {
        "Quasi saepe earum dolores ea culpa odio.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "tf_vars_count": 3798146291237058000,
      "updated": 1627686800,
      "var_files_count": 156121988512974820
    },
    {
      "account": "e",
      "connectors": [
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        }
      ],
      "created": 1627590400,
      "description": "this is a more detailed explanation of the resource.",
      "env_vars_count": 2822961649872163300,
      "environment_variables": {
        "Ex facere ducimus accusantium.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        },
        "Quam exercitationem dolore nihil eaque sint modi.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "id": 3732375073621862400,
      "identifier": "7l8",
      "name": "resource name",
      "org": "s",
      "project": "v5",
      "terraform_variable_files": [
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        }
      ],
      "terraform_variables": {
        "Quasi saepe earum dolores ea culpa odio.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "tf_vars_count": 3798146291237058000,
      "updated": 1627686800,
      "var_files_count": 156121988512974820
    },
    {
      "account": "e",
      "connectors": [
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        },
        {
          "connector_ref": "8g",
          "created": 1627590400,
          "id": 3872455963515336700,
          "type": "aws",
          "updated": 1627686800
        }
      ],
      "created": 1627590400,
      "description": "this is a more detailed explanation of the resource.",
      "env_vars_count": 2822961649872163300,
      "environment_variables": {
        "Ex facere ducimus accusantium.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        },
        "Quam exercitationem dolore nihil eaque sint modi.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "id": 3732375073621862400,
      "identifier": "7l8",
      "name": "resource name",
      "org": "s",
      "project": "v5",
      "terraform_variable_files": [
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        },
        {
          "created": 1627590400,
          "id": 1486103426532278800,
          "repository": "Quidem voluptas.",
          "repository_branch": "main",
          "repository_commit": "abc10ed",
          "repository_connector": "Omnis excepturi sed et repellendus id.",
          "repository_path": "",
          "repository_sha": "abc10ed",
          "updated": 1627686800
        }
      ],
      "terraform_variables": {
        "Quasi saepe earum dolores ea culpa odio.": {
          "created": 1627590400,
          "id": 3117167049283568000,
          "key": "vr",
          "updated": 1627686800,
          "value": "Sit tenetur mollitia saepe maxime similique.",
          "value_type": "boolean"
        }
      },
      "tf_vars_count": 3798146291237058000,
      "updated": 1627686800,
      "var_files_count": 156121988512974820
    }
  ]
}

Last updated

Was this helpful?