How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Harness Variable Sets API

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

Harness Variable Sets API is one of 488 APIs that Harness publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

This API exposes 21 operations across 12 paths, and defines 24 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://app.harness.io, https://{vanity}.

21 operations 12 paths 24 schemas 6 DELETE9 GET3 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://app.harness.io
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Harness Variable Sets API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (x-api-key). By default, every request must be authenticated.

  • x-api-key — API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.

Paths & Operations 21

Across 12 paths, the API surfaces 21 operations — 6 DELETE, 9 GET, 3 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

variable_sets 21

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

DELETE
/iacm/api/orgs/{org}/projects/{project}/variable-set
Delete Variable Set by query identifier on project level
variable_sets#delete-variable-set-by-query-proj-level 4 params → 204400401403404408409423
POST
/iacm/api/orgs/{org}/projects/{project}/variable-set
Create a new Variable Set on project level
variable_sets#create-variable-set-proj-level 3 params body → 201400401403404408409423
DELETE
/iacm/api/orgs/{org}/projects/{project}/variable-set/{identifier}
Delete Variable Set by identifier on project level
variable_sets#delete-variable-set-proj-level 4 params → 204400401403404408409423
GET
/iacm/api/orgs/{org}/projects/{project}/variable-set/{identifier}
Get Variable Set by identifier on project level
variable_sets#get-variable-set-proj-level 4 params → 200400401403404408409423
PUT
/iacm/api/orgs/{org}/projects/{project}/variable-set/{identifier}
Update a Variable Set on project level
variable_sets#update-variable-set-proj-level 4 params body → 200400401403404408409423
GET
/iacm/api/orgs/{org}/projects/{project}/variable-set/{identifier}/references
Get Variable Set References list on project level
variable_sets#list-variable-set-references-proj-level 4 params → 200400401403404408409423
GET
/iacm/api/orgs/{org}/projects/{project}/variable-sets
Get Variable Set list on project level
variable_sets#list-variable-sets-proj-level 3 params → 200400401403404408409423
DELETE
/iacm/api/orgs/{org}/variable-set
Delete Variable Set by query identifier on org level
variable_sets#delete-variable-set-by-query-org-level 3 params → 204400401403404408409423
POST
/iacm/api/orgs/{org}/variable-set
Create a new Variable Set on org level
variable_sets#create-variable-set-org-level 2 params body → 201400401403404408409423
DELETE
/iacm/api/orgs/{org}/variable-set/{identifier}
Delete Variable Set by identifier on org level
variable_sets#delete-variable-set-org-level 3 params → 204400401403404408409423
GET
/iacm/api/orgs/{org}/variable-set/{identifier}
Get Variable Set by identifier on org level
variable_sets#get-variable-set-org-level 3 params → 200400401403404408409423
PUT
/iacm/api/orgs/{org}/variable-set/{identifier}
Update a Variable Set on org level
variable_sets#update-variable-set-org-level 3 params body → 200400401403404408409423
GET
/iacm/api/orgs/{org}/variable-set/{identifier}/references
Get Variable Set References list on org level
variable_sets#list-variable-set-references-org-level 3 params → 200400401403404408409423
GET
/iacm/api/orgs/{org}/variable-sets
Get Variable Set list on org level
variable_sets#list-variable-sets-org-level 2 params → 200400401403404408409423
DELETE
/iacm/api/variable-set
Delete Variable Set by query identifier on account level
variable_sets#delete-variable-set-by-query-account-level 2 params → 204400401403404408409423
POST
/iacm/api/variable-set
Create a new Variable Set on account level
variable_sets#create-variable-set-account-level 1 param body → 201400401403404408409423
DELETE
/iacm/api/variable-set/{identifier}
Delete Variable Set by identifier on account level
variable_sets#delete-variable-set-account-level 2 params → 204400401403404408409423
GET
/iacm/api/variable-set/{identifier}
Get Variable Set by identifier on account level
variable_sets#get-variable-set-account-level 2 params → 200400401403404408409423
PUT
/iacm/api/variable-set/{identifier}
Update a Variable Set on account level
variable_sets#update-variable-set-account-level 2 params body → 200400401403404408409423
GET
/iacm/api/variable-set/{identifier}/references
Get Variable Set References list on account level
variable_sets#list-variable-set-references-account-level 2 params → 200400401403404408409423
GET
/iacm/api/variable-sets
Get Variable Set list on account level
variable_sets#list-variable-sets-account-level 1 param → 200400401403404408409423

Schemas 24

The contract defines 24 schemas that model the data the API accepts and returns. The most detailed are HarnessIacmWorkspace (48 properties), HarnessIacmVariableSet (16 properties), VariableSetsGetVariableSetAccountLevelResponseBody (12 properties), VariableSetsCreateVariableSetAccountLevelResponseBody (12 properties). Each schema is shown below with its type and property counts.

VariableSetsCreateVariableSetAccountLevelResponseBody
object
Create-Variable-Set-Account-LevelResponseBody result type (default view)
12 properties 5 required
WorkspaceResourceCollection
array
UpdateVariableSetRequestOrgScope
object
9 properties 1 required
HarnessIacmWorkspace
object
WorkspaceResource is the representation for a single workspace definition.
48 properties 15 required
WorkspaceTerraformVariableFiles
object
WorkspaceTerraformVarFiles defines a variable file that lives in another repository than the workspace files.
6 properties 1 required
VariableSetConnector
object
Variable Set provider connector
5 properties 2 required
CreateVariableSetRequestOrgScope
object
10 properties 2 required
VariableSetsGetVariableSetAccountLevelResponseBody
object
Get-Variable-Set-Account-LevelResponseBody result type (default view)
12 properties 5 required
CreateVariableSetRequestProjScope
object
10 properties 2 required
VariableSetResourceCollection
array
IaCMError
object
6 properties 6 required
VariableSetVar
object
Variable is the representation for a single variable associated with a Variable Set.
6 properties 3 required
HarnessIacmWorkspaceList
object
1 property
UpdateVariableSetRequestProjScope
object
9 properties 1 required
WorkspaceLock
object
workspaceLock holds the details of an active workspace lock. Fields are populated for manual (user-initiated) locks and left empty for automatic (Terraform CLI…
7 properties
AssociatedTemplate
object
AssociatedTemplate defines the template details with templateid and version.
2 properties
VariableResource
object
Variable is the representation for a single variable associated with a workspace.
5 properties 6 required
HarnessIacmVariableSetList
object
1 property
VariableSetVarFile
object
VariableSetVarFile defines a variable file that lives in another repository than the workspace files.
9 properties 1 required
DefaultPipelineOverride
object
Per-workspace override to the assigned default pipelines.
2 properties
CreateVariableSetRequestAccScope
object
10 properties 2 required
UpdateVariableSetRequestAccountScope
object
9 properties 1 required
WorkspaceProviderConnector
object
Workspace provider connector
7 properties 2 required
HarnessIacmVariableSet
object
VariableSetResource is the representation for a variable-set association.
16 properties 8 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

harness-variable-sets-api-openapi.yml Raw ↑

Other APIs Harness publishes across the network.

Harness Continuous Integration API
Harness Continuous Delivery and GitOps API
Harness Feature Management and Experimentation API
Harness Cloud Cost Management API
Harness Chaos Engineering API
Harness Security Testing Orchestration API
Harness Internal Developer Portal API
Harness Code Repository API
Harness Service Reliability Management API
Harness Infrastructure as Code Management API
Harness Supply Chain Security API
Harness Software Engineering Insights API
Where this information came from

This is an independent, third-party profile of Harness Variable Sets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.