> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/api-reference/iacm/configuration-variable-sets.md).

# Configuration Variable Sets

Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets.

## Create a new Configuration Variable Set on account level

> Create a new Configuration Variable Set on account level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set":{"post":{"tags":["configuration_variable_sets"],"summary":"Create a new Configuration Variable Set on account level","description":"Create a new Configuration Variable Set on account level.","operationId":"configuration_variable_sets#create-configuration-variable-set-account-level","parameters":[{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConfigurationVariableSetRequestAccScope"}}}},"responses":{"201":{"description":"Created response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"CreateConfigurationVariableSetRequestAccScope":{"type":"object","properties":{"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"required":["identifier","name"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"description":"Create-Configuration-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Delete Configuration Variable Set by query identifier on account level

> Delete Configuration 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. '/').

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set":{"delete":{"tags":["configuration_variable_sets"],"summary":"Delete Configuration Variable Set by query identifier on account level","description":"Delete Configuration 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. '/').","operationId":"configuration_variable_sets#delete-configuration-variable-set-by-query-account-level","parameters":[{"name":"identifier","in":"query","description":"Identifier is the Configuration Variable Set identifier.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get Configuration Variable Set attachments on account level

> Get the Configuration Variable Sets attached to a playbook or inventory on account level, in priority order.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set-attachments/{entity_type}/{entity}":{"get":{"tags":["configuration_variable_sets"],"summary":"Get Configuration Variable Set attachments on account level","description":"Get the Configuration Variable Sets attached to a playbook or inventory on account level, in priority order.","operationId":"configuration_variable_sets#get-configuration-variable-set-attachments-account-level","parameters":[{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachmentList"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"HarnessIacmConfigurationVariableSetAttachmentList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/ConfigurationVariableSetAttachmentResourceCollection"}}},"ConfigurationVariableSetAttachmentResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachment"}},"HarnessIacmConfigurationVariableSetAttachment":{"type":"object","properties":{"account":{"type":"string","description":"Account the attached Configuration Variable Set belongs to."},"identifier":{"type":"string","description":"Identifier of the attached Configuration Variable Set."},"name":{"type":"string","description":"Name of the attached Configuration Variable Set."},"org":{"type":"string","description":"Org the attached Configuration Variable Set belongs to, empty for account scope."},"priority":{"type":"integer","description":"Priority of the attachment. Lower wins on duplicate keys.","format":"int64"},"project":{"type":"string","description":"Project the attached Configuration Variable Set belongs to, empty for account and org scope."},"variable_set":{"type":"string","description":"Reference to the attached Configuration Variable Set, in the same scoped form accepted on write."}},"description":"A Configuration Variable Set attached to a playbook or inventory.","required":["variable_set","identifier","name","account","org","project","priority"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Replace Configuration Variable Set attachments on account level

> Replace the Configuration Variable Sets attached to a playbook or inventory on account level. Array order is the priority order.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set-attachments/{entity_type}/{entity}":{"put":{"tags":["configuration_variable_sets"],"summary":"Replace Configuration Variable Set attachments on account level","description":"Replace the Configuration Variable Sets attached to a playbook or inventory on account level. Array order is the priority order.","operationId":"configuration_variable_sets#replace-configuration-variable-set-attachments-account-level","parameters":[{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceConfigurationVariableSetAttachmentsRequestAccScope"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachmentList"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ReplaceConfigurationVariableSetAttachmentsRequestAccScope":{"type":"object","properties":{"variable_sets":{"type":"array","items":{"type":"string"},"description":"Configuration Variable Sets to attach, in priority order. Replaces whatever is currently attached."}},"required":["variable_sets"]},"HarnessIacmConfigurationVariableSetAttachmentList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/ConfigurationVariableSetAttachmentResourceCollection"}}},"ConfigurationVariableSetAttachmentResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachment"}},"HarnessIacmConfigurationVariableSetAttachment":{"type":"object","properties":{"account":{"type":"string","description":"Account the attached Configuration Variable Set belongs to."},"identifier":{"type":"string","description":"Identifier of the attached Configuration Variable Set."},"name":{"type":"string","description":"Name of the attached Configuration Variable Set."},"org":{"type":"string","description":"Org the attached Configuration Variable Set belongs to, empty for account scope."},"priority":{"type":"integer","description":"Priority of the attachment. Lower wins on duplicate keys.","format":"int64"},"project":{"type":"string","description":"Project the attached Configuration Variable Set belongs to, empty for account and org scope."},"variable_set":{"type":"string","description":"Reference to the attached Configuration Variable Set, in the same scoped form accepted on write."}},"description":"A Configuration Variable Set attached to a playbook or inventory.","required":["variable_set","identifier","name","account","org","project","priority"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Delete Configuration Variable Set attachments on account level

> Remove every Configuration Variable Set attachment from a deleted account level playbook or inventory.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set-attachments/{entity_type}/{entity}":{"delete":{"tags":["configuration_variable_sets"],"summary":"Delete Configuration Variable Set attachments on account level","description":"Remove every Configuration Variable Set attachment from a deleted account level playbook or inventory.","operationId":"configuration_variable_sets#delete-configuration-variable-set-attachments-account-level","parameters":[{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get merged Configuration Variable Set variables on account level

> Get the variables of every Configuration Variable Set attached to a playbook or inventory on account level, marking which entry wins each key.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set-attachments/{entity_type}/{entity}/merged":{"get":{"tags":["configuration_variable_sets"],"summary":"Get merged Configuration Variable Set variables on account level","description":"Get the variables of every Configuration Variable Set attached to a playbook or inventory on account level, marking which entry wins each key.","operationId":"configuration_variable_sets#get-configuration-variable-set-attachments-merged-account-level","parameters":[{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetMergedVariables"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ConfigurationVariableSetMergedVariables":{"type":"object","properties":{"environment_variables":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationVariableSetMergedVariable"}},"variables":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationVariableSetMergedVariable"}}},"required":["environment_variables","variables"]},"ConfigurationVariableSetMergedVariable":{"type":"object","properties":{"associatedVariableSet":{"type":"string","description":"Reference to the set the variable comes from, in the same scoped form as the attachments API."},"inUse":{"type":"boolean","description":"Whether this entry wins its key."},"key":{"type":"string"},"priority":{"type":"integer","description":"Attachment priority of the set. Lower wins on duplicate keys.","format":"int64"},"value":{"type":"string","description":"Stored value. For a secret this is the secret reference, never the resolved value."},"value_type":{"type":"string"}},"required":["key","value","value_type","associatedVariableSet","priority","inUse"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get Configuration Variable Set by identifier on account level

> Get Configuration Variable Set by identifier on account level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set/{identifier}":{"get":{"tags":["configuration_variable_sets"],"summary":"Get Configuration Variable Set by identifier on account level","description":"Get Configuration Variable Set by identifier on account level.","operationId":"configuration_variable_sets#get-configuration-variable-set-account-level","parameters":[{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetsGetConfigurationVariableSetAccountLevelResponseBody"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ConfigurationVariableSetsGetConfigurationVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"description":"Get-Configuration-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Update a Configuration Variable Set on account level

> Update a Configuration Variable Set on account level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set/{identifier}":{"put":{"tags":["configuration_variable_sets"],"summary":"Update a Configuration Variable Set on account level","description":"Update a Configuration Variable Set on account level.","operationId":"configuration_variable_sets#update-configuration-variable-set-account-level","parameters":[{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateConfigurationVariableSetRequestAccountScope"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"UpdateConfigurationVariableSetRequestAccountScope":{"type":"object","properties":{"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"required":["name"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"description":"Create-Configuration-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Delete Configuration Variable Set by identifier on account level

> Delete Configuration Variable Set by identifier on account level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set/{identifier}":{"delete":{"tags":["configuration_variable_sets"],"summary":"Delete Configuration Variable Set by identifier on account level","description":"Delete Configuration Variable Set by identifier on account level.","operationId":"configuration_variable_sets#delete-configuration-variable-set-account-level","parameters":[{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## List Configuration Variable Set references on account level

> List the playbooks and inventories a Configuration Variable Set on account level is attached to.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-set/{identifier}/references":{"get":{"tags":["configuration_variable_sets"],"summary":"List Configuration Variable Set references on account level","description":"List the playbooks and inventories a Configuration Variable Set on account level is attached to.","operationId":"configuration_variable_sets#list-configuration-variable-set-references-account-level","parameters":[{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListConfigurationVariableSetReferences"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ListConfigurationVariableSetReferences":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationVariableSetReference"}}},"required":["items"]},"ConfigurationVariableSetReference":{"type":"object","properties":{"account":{"type":"string"},"entity_type":{"type":"string","enum":["playbook","inventory"]},"identifier":{"type":"string","description":"Identifier of the playbook or inventory."},"name":{"type":"string","description":"Name of the playbook or inventory."},"org":{"type":"string","description":"Org of the playbook or inventory, empty for account scope."},"priority":{"type":"integer","description":"Priority of the set on this playbook or inventory. Lower wins on duplicate keys.","format":"int64"},"project":{"type":"string","description":"Project of the playbook or inventory, empty for account and org scope."}},"description":"A playbook or inventory a Configuration Variable Set is attached to.","required":["entity_type","identifier","name","account","org","project","priority"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get Configuration Variable Set list on account level

> Get Configuration Variable Set list on account level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/configuration-variable-sets":{"get":{"tags":["configuration_variable_sets"],"summary":"Get Configuration Variable Set list on account level","description":"Get Configuration Variable Set list on account level.","operationId":"configuration_variable_sets#list-configuration-variable-sets-account-level","parameters":[{"name":"type","in":"query","description":"Optional configuration product type to filter the list.","allowEmptyValue":true,"schema":{"type":"string","description":"Optional configuration product type to filter the list.","enum":["ansible"]}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetList"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"HarnessIacmConfigurationVariableSetList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/ConfigurationVariableSetResourceCollection"}}},"ConfigurationVariableSetResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSet"}},"HarnessIacmConfigurationVariableSet":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"env_vars_count":{"type":"integer","description":"Number of environment variables defined in the Configuration Variable Set.","format":"int64"},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"vars_count":{"type":"integer","description":"Number of Ansible variables defined in the Configuration Variable Set.","format":"int64"}},"description":"ConfigurationVariableSetResource is a configuration variable set (Ansible variables and env vars).","required":["account","org","project","identifier","name","env_vars_count","vars_count"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Create a new Configuration Variable Set on org level

> Create a new Configuration Variable Set on org level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set":{"post":{"tags":["configuration_variable_sets"],"summary":"Create a new Configuration Variable Set on org level","description":"Create a new Configuration Variable Set on org level.","operationId":"configuration_variable_sets#create-configuration-variable-set-org-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConfigurationVariableSetRequestOrgScope"}}}},"responses":{"201":{"description":"Created response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"CreateConfigurationVariableSetRequestOrgScope":{"type":"object","properties":{"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"required":["identifier","name"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"description":"Create-Configuration-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Delete Configuration Variable Set by query identifier on org level

> Delete Configuration 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. '/').

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set":{"delete":{"tags":["configuration_variable_sets"],"summary":"Delete Configuration Variable Set by query identifier on org level","description":"Delete Configuration 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. '/').","operationId":"configuration_variable_sets#delete-configuration-variable-set-by-query-org-level","parameters":[{"name":"identifier","in":"query","description":"Identifier is the Configuration Variable Set identifier.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get Configuration Variable Set attachments on org level

> Get the Configuration Variable Sets attached to a playbook or inventory on org level, in priority order.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set-attachments/{entity_type}/{entity}":{"get":{"tags":["configuration_variable_sets"],"summary":"Get Configuration Variable Set attachments on org level","description":"Get the Configuration Variable Sets attached to a playbook or inventory on org level, in priority order.","operationId":"configuration_variable_sets#get-configuration-variable-set-attachments-org-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachmentList"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"HarnessIacmConfigurationVariableSetAttachmentList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/ConfigurationVariableSetAttachmentResourceCollection"}}},"ConfigurationVariableSetAttachmentResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachment"}},"HarnessIacmConfigurationVariableSetAttachment":{"type":"object","properties":{"account":{"type":"string","description":"Account the attached Configuration Variable Set belongs to."},"identifier":{"type":"string","description":"Identifier of the attached Configuration Variable Set."},"name":{"type":"string","description":"Name of the attached Configuration Variable Set."},"org":{"type":"string","description":"Org the attached Configuration Variable Set belongs to, empty for account scope."},"priority":{"type":"integer","description":"Priority of the attachment. Lower wins on duplicate keys.","format":"int64"},"project":{"type":"string","description":"Project the attached Configuration Variable Set belongs to, empty for account and org scope."},"variable_set":{"type":"string","description":"Reference to the attached Configuration Variable Set, in the same scoped form accepted on write."}},"description":"A Configuration Variable Set attached to a playbook or inventory.","required":["variable_set","identifier","name","account","org","project","priority"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Replace Configuration Variable Set attachments on org level

> Replace the Configuration Variable Sets attached to a playbook or inventory on org level. Array order is the priority order.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set-attachments/{entity_type}/{entity}":{"put":{"tags":["configuration_variable_sets"],"summary":"Replace Configuration Variable Set attachments on org level","description":"Replace the Configuration Variable Sets attached to a playbook or inventory on org level. Array order is the priority order.","operationId":"configuration_variable_sets#replace-configuration-variable-set-attachments-org-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceConfigurationVariableSetAttachmentsRequestOrgScope"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachmentList"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ReplaceConfigurationVariableSetAttachmentsRequestOrgScope":{"type":"object","properties":{"variable_sets":{"type":"array","items":{"type":"string"},"description":"Configuration Variable Sets to attach, in priority order. Replaces whatever is currently attached."}},"required":["variable_sets"]},"HarnessIacmConfigurationVariableSetAttachmentList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/ConfigurationVariableSetAttachmentResourceCollection"}}},"ConfigurationVariableSetAttachmentResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachment"}},"HarnessIacmConfigurationVariableSetAttachment":{"type":"object","properties":{"account":{"type":"string","description":"Account the attached Configuration Variable Set belongs to."},"identifier":{"type":"string","description":"Identifier of the attached Configuration Variable Set."},"name":{"type":"string","description":"Name of the attached Configuration Variable Set."},"org":{"type":"string","description":"Org the attached Configuration Variable Set belongs to, empty for account scope."},"priority":{"type":"integer","description":"Priority of the attachment. Lower wins on duplicate keys.","format":"int64"},"project":{"type":"string","description":"Project the attached Configuration Variable Set belongs to, empty for account and org scope."},"variable_set":{"type":"string","description":"Reference to the attached Configuration Variable Set, in the same scoped form accepted on write."}},"description":"A Configuration Variable Set attached to a playbook or inventory.","required":["variable_set","identifier","name","account","org","project","priority"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Delete Configuration Variable Set attachments on org level

> Remove every Configuration Variable Set attachment from a deleted org level playbook or inventory.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set-attachments/{entity_type}/{entity}":{"delete":{"tags":["configuration_variable_sets"],"summary":"Delete Configuration Variable Set attachments on org level","description":"Remove every Configuration Variable Set attachment from a deleted org level playbook or inventory.","operationId":"configuration_variable_sets#delete-configuration-variable-set-attachments-org-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get merged Configuration Variable Set variables on org level

> Get the variables of every Configuration Variable Set attached to a playbook or inventory on org level, marking which entry wins each key.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set-attachments/{entity_type}/{entity}/merged":{"get":{"tags":["configuration_variable_sets"],"summary":"Get merged Configuration Variable Set variables on org level","description":"Get the variables of every Configuration Variable Set attached to a playbook or inventory on org level, marking which entry wins each key.","operationId":"configuration_variable_sets#get-configuration-variable-set-attachments-merged-org-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetMergedVariables"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ConfigurationVariableSetMergedVariables":{"type":"object","properties":{"environment_variables":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationVariableSetMergedVariable"}},"variables":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationVariableSetMergedVariable"}}},"required":["environment_variables","variables"]},"ConfigurationVariableSetMergedVariable":{"type":"object","properties":{"associatedVariableSet":{"type":"string","description":"Reference to the set the variable comes from, in the same scoped form as the attachments API."},"inUse":{"type":"boolean","description":"Whether this entry wins its key."},"key":{"type":"string"},"priority":{"type":"integer","description":"Attachment priority of the set. Lower wins on duplicate keys.","format":"int64"},"value":{"type":"string","description":"Stored value. For a secret this is the secret reference, never the resolved value."},"value_type":{"type":"string"}},"required":["key","value","value_type","associatedVariableSet","priority","inUse"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get Configuration Variable Set by identifier on org level

> Get Configuration Variable Set by identifier on org level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set/{identifier}":{"get":{"tags":["configuration_variable_sets"],"summary":"Get Configuration Variable Set by identifier on org level","description":"Get Configuration Variable Set by identifier on org level.","operationId":"configuration_variable_sets#get-configuration-variable-set-org-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetsGetConfigurationVariableSetAccountLevelResponseBody"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ConfigurationVariableSetsGetConfigurationVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"description":"Get-Configuration-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Update a Configuration Variable Set on org level

> Update a Configuration Variable Set on org level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set/{identifier}":{"put":{"tags":["configuration_variable_sets"],"summary":"Update a Configuration Variable Set on org level","description":"Update a Configuration Variable Set on org level.","operationId":"configuration_variable_sets#update-configuration-variable-set-org-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateConfigurationVariableSetRequestOrgScope"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"UpdateConfigurationVariableSetRequestOrgScope":{"type":"object","properties":{"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"required":["name"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"description":"Create-Configuration-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Delete Configuration Variable Set by identifier on org level

> Delete Configuration Variable Set by identifier on org level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set/{identifier}":{"delete":{"tags":["configuration_variable_sets"],"summary":"Delete Configuration Variable Set by identifier on org level","description":"Delete Configuration Variable Set by identifier on org level.","operationId":"configuration_variable_sets#delete-configuration-variable-set-org-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## List Configuration Variable Set references on org level

> List the playbooks and inventories a Configuration Variable Set on org level is attached to.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-set/{identifier}/references":{"get":{"tags":["configuration_variable_sets"],"summary":"List Configuration Variable Set references on org level","description":"List the playbooks and inventories a Configuration Variable Set on org level is attached to.","operationId":"configuration_variable_sets#list-configuration-variable-set-references-org-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListConfigurationVariableSetReferences"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ListConfigurationVariableSetReferences":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationVariableSetReference"}}},"required":["items"]},"ConfigurationVariableSetReference":{"type":"object","properties":{"account":{"type":"string"},"entity_type":{"type":"string","enum":["playbook","inventory"]},"identifier":{"type":"string","description":"Identifier of the playbook or inventory."},"name":{"type":"string","description":"Name of the playbook or inventory."},"org":{"type":"string","description":"Org of the playbook or inventory, empty for account scope."},"priority":{"type":"integer","description":"Priority of the set on this playbook or inventory. Lower wins on duplicate keys.","format":"int64"},"project":{"type":"string","description":"Project of the playbook or inventory, empty for account and org scope."}},"description":"A playbook or inventory a Configuration Variable Set is attached to.","required":["entity_type","identifier","name","account","org","project","priority"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get Configuration Variable Set list on org level

> Get Configuration Variable Set list on org level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/configuration-variable-sets":{"get":{"tags":["configuration_variable_sets"],"summary":"Get Configuration Variable Set list on org level","description":"Get Configuration Variable Set list on org level.","operationId":"configuration_variable_sets#list-configuration-variable-sets-org-level","parameters":[{"name":"type","in":"query","description":"Optional configuration product type to filter the list.","allowEmptyValue":true,"schema":{"type":"string","description":"Optional configuration product type to filter the list.","enum":["ansible"]}},{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetList"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"HarnessIacmConfigurationVariableSetList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/ConfigurationVariableSetResourceCollection"}}},"ConfigurationVariableSetResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSet"}},"HarnessIacmConfigurationVariableSet":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"env_vars_count":{"type":"integer","description":"Number of environment variables defined in the Configuration Variable Set.","format":"int64"},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"vars_count":{"type":"integer","description":"Number of Ansible variables defined in the Configuration Variable Set.","format":"int64"}},"description":"ConfigurationVariableSetResource is a configuration variable set (Ansible variables and env vars).","required":["account","org","project","identifier","name","env_vars_count","vars_count"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Create a new Configuration Variable Set on project level

> Create a new Configuration Variable Set on project level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set":{"post":{"tags":["configuration_variable_sets"],"summary":"Create a new Configuration Variable Set on project level","description":"Create a new Configuration Variable Set on project level.","operationId":"configuration_variable_sets#create-configuration-variable-set-proj-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConfigurationVariableSetRequestProjScope"}}}},"responses":{"201":{"description":"Created response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"CreateConfigurationVariableSetRequestProjScope":{"type":"object","properties":{"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"required":["identifier","name"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"description":"Create-Configuration-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Delete Configuration Variable Set by query identifier on project level

> Delete Configuration 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. '/').

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set":{"delete":{"tags":["configuration_variable_sets"],"summary":"Delete Configuration Variable Set by query identifier on project level","description":"Delete Configuration 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. '/').","operationId":"configuration_variable_sets#delete-configuration-variable-set-by-query-proj-level","parameters":[{"name":"identifier","in":"query","description":"Identifier is the Configuration Variable Set identifier.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get Configuration Variable Set attachments on project level

> Get the Configuration Variable Sets attached to a playbook or inventory on project level, in priority order.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set-attachments/{entity_type}/{entity}":{"get":{"tags":["configuration_variable_sets"],"summary":"Get Configuration Variable Set attachments on project level","description":"Get the Configuration Variable Sets attached to a playbook or inventory on project level, in priority order.","operationId":"configuration_variable_sets#get-configuration-variable-set-attachments-proj-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachmentList"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"HarnessIacmConfigurationVariableSetAttachmentList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/ConfigurationVariableSetAttachmentResourceCollection"}}},"ConfigurationVariableSetAttachmentResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachment"}},"HarnessIacmConfigurationVariableSetAttachment":{"type":"object","properties":{"account":{"type":"string","description":"Account the attached Configuration Variable Set belongs to."},"identifier":{"type":"string","description":"Identifier of the attached Configuration Variable Set."},"name":{"type":"string","description":"Name of the attached Configuration Variable Set."},"org":{"type":"string","description":"Org the attached Configuration Variable Set belongs to, empty for account scope."},"priority":{"type":"integer","description":"Priority of the attachment. Lower wins on duplicate keys.","format":"int64"},"project":{"type":"string","description":"Project the attached Configuration Variable Set belongs to, empty for account and org scope."},"variable_set":{"type":"string","description":"Reference to the attached Configuration Variable Set, in the same scoped form accepted on write."}},"description":"A Configuration Variable Set attached to a playbook or inventory.","required":["variable_set","identifier","name","account","org","project","priority"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Replace Configuration Variable Set attachments on project level

> Replace the Configuration Variable Sets attached to a playbook or inventory on project level. Array order is the priority order.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set-attachments/{entity_type}/{entity}":{"put":{"tags":["configuration_variable_sets"],"summary":"Replace Configuration Variable Set attachments on project level","description":"Replace the Configuration Variable Sets attached to a playbook or inventory on project level. Array order is the priority order.","operationId":"configuration_variable_sets#replace-configuration-variable-set-attachments-proj-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplaceConfigurationVariableSetAttachmentsRequestProjScope"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachmentList"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ReplaceConfigurationVariableSetAttachmentsRequestProjScope":{"type":"object","properties":{"variable_sets":{"type":"array","items":{"type":"string"},"description":"Configuration Variable Sets to attach, in priority order. Replaces whatever is currently attached."}},"required":["variable_sets"]},"HarnessIacmConfigurationVariableSetAttachmentList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/ConfigurationVariableSetAttachmentResourceCollection"}}},"ConfigurationVariableSetAttachmentResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetAttachment"}},"HarnessIacmConfigurationVariableSetAttachment":{"type":"object","properties":{"account":{"type":"string","description":"Account the attached Configuration Variable Set belongs to."},"identifier":{"type":"string","description":"Identifier of the attached Configuration Variable Set."},"name":{"type":"string","description":"Name of the attached Configuration Variable Set."},"org":{"type":"string","description":"Org the attached Configuration Variable Set belongs to, empty for account scope."},"priority":{"type":"integer","description":"Priority of the attachment. Lower wins on duplicate keys.","format":"int64"},"project":{"type":"string","description":"Project the attached Configuration Variable Set belongs to, empty for account and org scope."},"variable_set":{"type":"string","description":"Reference to the attached Configuration Variable Set, in the same scoped form accepted on write."}},"description":"A Configuration Variable Set attached to a playbook or inventory.","required":["variable_set","identifier","name","account","org","project","priority"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Delete Configuration Variable Set attachments on project level

> Remove every Configuration Variable Set attachment from a deleted project level playbook or inventory.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set-attachments/{entity_type}/{entity}":{"delete":{"tags":["configuration_variable_sets"],"summary":"Delete Configuration Variable Set attachments on project level","description":"Remove every Configuration Variable Set attachment from a deleted project level playbook or inventory.","operationId":"configuration_variable_sets#delete-configuration-variable-set-attachments-proj-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get merged Configuration Variable Set variables on project level

> Get the variables of every Configuration Variable Set attached to a playbook or inventory on project level, marking which entry wins each key.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set-attachments/{entity_type}/{entity}/merged":{"get":{"tags":["configuration_variable_sets"],"summary":"Get merged Configuration Variable Set variables on project level","description":"Get the variables of every Configuration Variable Set attached to a playbook or inventory on project level, marking which entry wins each key.","operationId":"configuration_variable_sets#get-configuration-variable-set-attachments-merged-proj-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"entity_type","in":"path","description":"Kind of entity the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Kind of entity the Configuration Variable Sets are attached to.","enum":["playbook","inventory"]}},{"name":"entity","in":"path","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","required":true,"schema":{"type":"string","description":"Identifier of the playbook or inventory the Configuration Variable Sets are attached to.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetMergedVariables"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ConfigurationVariableSetMergedVariables":{"type":"object","properties":{"environment_variables":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationVariableSetMergedVariable"}},"variables":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationVariableSetMergedVariable"}}},"required":["environment_variables","variables"]},"ConfigurationVariableSetMergedVariable":{"type":"object","properties":{"associatedVariableSet":{"type":"string","description":"Reference to the set the variable comes from, in the same scoped form as the attachments API."},"inUse":{"type":"boolean","description":"Whether this entry wins its key."},"key":{"type":"string"},"priority":{"type":"integer","description":"Attachment priority of the set. Lower wins on duplicate keys.","format":"int64"},"value":{"type":"string","description":"Stored value. For a secret this is the secret reference, never the resolved value."},"value_type":{"type":"string"}},"required":["key","value","value_type","associatedVariableSet","priority","inUse"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get Configuration Variable Set by identifier on project level

> Get Configuration Variable Set by identifier on project level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set/{identifier}":{"get":{"tags":["configuration_variable_sets"],"summary":"Get Configuration Variable Set by identifier on project level","description":"Get Configuration Variable Set by identifier on project level.","operationId":"configuration_variable_sets#get-configuration-variable-set-proj-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetsGetConfigurationVariableSetAccountLevelResponseBody"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ConfigurationVariableSetsGetConfigurationVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"description":"Get-Configuration-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Update a Configuration Variable Set on project level

> Update a Configuration Variable Set on project level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set/{identifier}":{"put":{"tags":["configuration_variable_sets"],"summary":"Update a Configuration Variable Set on project level","description":"Update a Configuration Variable Set on project level.","operationId":"configuration_variable_sets#update-configuration-variable-set-proj-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","pattern":"^[^/?#\\s]+$","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateConfigurationVariableSetRequestProjScope"}}}},"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"UpdateConfigurationVariableSetRequestProjScope":{"type":"object","properties":{"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"required":["name"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"ConfigurationVariableSetsCreateConfigurationVariableSetAccountLevelResponseBody":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}}},"description":"Create-Configuration-Variable-Set-Account-LevelResponseBody result type (default view)","required":["account","org","project","identifier","name"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Delete Configuration Variable Set by identifier on project level

> Delete Configuration Variable Set by identifier on project level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set/{identifier}":{"delete":{"tags":["configuration_variable_sets"],"summary":"Delete Configuration Variable Set by identifier on project level","description":"Delete Configuration Variable Set by identifier on project level.","operationId":"configuration_variable_sets#delete-configuration-variable-set-proj-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"204":{"description":"No Content response."},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## List Configuration Variable Set references on project level

> List the playbooks and inventories a Configuration Variable Set on project level is attached to.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-set/{identifier}/references":{"get":{"tags":["configuration_variable_sets"],"summary":"List Configuration Variable Set references on project level","description":"List the playbooks and inventories a Configuration Variable Set on project level is attached to.","operationId":"configuration_variable_sets#list-configuration-variable-set-references-proj-level","parameters":[{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"identifier","in":"path","description":"Identifier is the Configuration Variable Set identifier.","required":true,"schema":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListConfigurationVariableSetReferences"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"ListConfigurationVariableSetReferences":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ConfigurationVariableSetReference"}}},"required":["items"]},"ConfigurationVariableSetReference":{"type":"object","properties":{"account":{"type":"string"},"entity_type":{"type":"string","enum":["playbook","inventory"]},"identifier":{"type":"string","description":"Identifier of the playbook or inventory."},"name":{"type":"string","description":"Name of the playbook or inventory."},"org":{"type":"string","description":"Org of the playbook or inventory, empty for account scope."},"priority":{"type":"integer","description":"Priority of the set on this playbook or inventory. Lower wins on duplicate keys.","format":"int64"},"project":{"type":"string","description":"Project of the playbook or inventory, empty for account and org scope."}},"description":"A playbook or inventory a Configuration Variable Set is attached to.","required":["entity_type","identifier","name","account","org","project","priority"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```

## Get Configuration Variable Set list on project level

> Get Configuration Variable Set list on project level.

```json
{"openapi":"3.0.3","info":{"title":"Infrastructure as Code Management","version":"0.1.0"},"tags":[{"name":"configuration_variable_sets","description":"Configuration Variable Sets Service handles CRUD for variable sets used by configuration products (Ansible playbooks and inventories). Independent of workspace/infrastructure variable sets."}],"servers":[{"url":"http://localhost:80"}],"paths":{"/api/orgs/{org}/projects/{project}/configuration-variable-sets":{"get":{"tags":["configuration_variable_sets"],"summary":"Get Configuration Variable Set list on project level","description":"Get Configuration Variable Set list on project level.","operationId":"configuration_variable_sets#list-configuration-variable-sets-proj-level","parameters":[{"name":"type","in":"query","description":"Optional configuration product type to filter the list.","allowEmptyValue":true,"schema":{"type":"string","description":"Optional configuration product type to filter the list.","enum":["ansible"]}},{"name":"org","in":"path","description":"Org is the organisation identifier.","required":true,"schema":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128}},{"name":"project","in":"path","description":"Project is the project identifier.","required":true,"schema":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128}},{"name":"Harness-Account","in":"header","description":"Account is the internal customer account ID.","allowEmptyValue":true,"required":true,"schema":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128}}],"responses":{"200":{"description":"OK response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSetList"}}}},"400":{"description":"BadRequestError: Bad Request response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"UnauthorizedError: Unauthorized response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"ForbiddenError: Forbidden response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"NotFoundError: Not Found response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"408":{"description":"TimeoutError: Request Timeout response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"ConflictError: Conflict response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"423":{"description":"LockedError: Locked response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"499":{"description":"ContextCancelledError:  response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"InternalServerError: Internal Server Error response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"BadGatewayError: Bad Gateway response.","content":{"application/vnd.goa.error":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"HarnessIacmConfigurationVariableSetList":{"type":"object","properties":{"items":{"$ref":"#/components/schemas/ConfigurationVariableSetResourceCollection"}}},"ConfigurationVariableSetResourceCollection":{"type":"array","items":{"$ref":"#/components/schemas/HarnessIacmConfigurationVariableSet"}},"HarnessIacmConfigurationVariableSet":{"type":"object","properties":{"account":{"type":"string","description":"Account is the internal customer account ID.","minLength":1,"maxLength":128},"created":{"type":"integer","description":"Timestamp when the configuration variable set was created.","format":"int64"},"description":{"type":"string","description":"Description provides long-form text about the resource."},"env_vars_count":{"type":"integer","description":"Number of environment variables defined in the Configuration Variable Set.","format":"int64"},"environment_variables":{"type":"object","description":"map of environment variables configured on the Configuration Variable Set.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"identifier":{"type":"string","description":"Identifier is the Configuration Variable Set identifier.","minLength":1,"maxLength":128},"name":{"type":"string","description":"Name is the human readable name for the resource.","minLength":1,"maxLength":128},"org":{"type":"string","description":"Org is the organisation identifier.","minLength":1,"maxLength":128},"project":{"type":"string","description":"Project is the project identifier.","minLength":1,"maxLength":128},"type":{"type":"string","description":"Configuration product this set belongs to.","default":"ansible","enum":["ansible"]},"updated":{"type":"integer","description":"Timestamp when the configuration variable set was last updated.","format":"int64"},"variables":{"type":"object","description":"map of Ansible variables configured on the Configuration Variable Set. Passed to ansible-playbook as extra-vars, so they override group and host vars. Values may be JSON.","additionalProperties":{"$ref":"#/components/schemas/ConfigurationVariableSetVar"}},"vars_count":{"type":"integer","description":"Number of Ansible variables defined in the Configuration Variable Set.","format":"int64"}},"description":"ConfigurationVariableSetResource is a configuration variable set (Ansible variables and env vars).","required":["account","org","project","identifier","name","env_vars_count","vars_count"]},"ConfigurationVariableSetVar":{"type":"object","properties":{"created":{"type":"integer","description":"Timestamp when the variable was created.","format":"int64"},"key":{"type":"string","description":"Key is the identifier for the variable.","pattern":"^[A-Za-z_][A-Za-z0-9_]*$","minLength":1,"maxLength":128},"updated":{"type":"integer","description":"Timestamp when the variable was last updated.","format":"int64"},"value":{"type":"string","description":"Value of the variable. Ansible variables may be JSON text."},"value_type":{"type":"string","description":"Type indicates the value type of the variable. In the case of secret this is a reference to an item in the secret store. Boolean values must be \"true\" or \"false\". JSON values must be valid JSON.","enum":["string","secret","boolean","json","number"]}},"description":"A single Ansible or env variable on a Configuration Variable Set.","required":["key","value","value_type"]},"Error":{"type":"object","properties":{"fault":{"type":"boolean","description":"Is the error a server-side fault?"},"id":{"type":"string","description":"ID is a unique identifier for this particular occurrence of the problem."},"message":{"type":"string","description":"Message is a human-readable explanation specific to this occurrence of the problem."},"name":{"type":"string","description":"Name is the name of this class of errors."},"temporary":{"type":"boolean","description":"Is the error temporary?"},"timeout":{"type":"boolean","description":"Is the error a timeout?"}},"required":["name","id","message","temporary","timeout","fault"]}}}}
```
