Update a Variable Set on account level
Update a Variable Set on account level.
Identifier is the VariableSet identifier.
i6Pattern: ^[^/?#\s]+$Account is the internal customer account ID.
0Timestamp when the variable set was created.
1627590400Description provides long-form text about the resource.
this is a more detailed explanation of the resource.ID PK for internal uses
3995713492928739300Name is the human readable name for the resource.
resource nameTimestamp when the variable set was last updated.
1627686800OK response.
Create-Variable-Set-Account-LevelResponseBody result type (default view)
Account is the internal customer account ID.
nlTimestamp when the variable set was created.
1627590400Description provides long-form text about the resource.
this is a more detailed explanation of the resource.Identifier is the VariableSet identifier.
u0Pattern: ^[^/?#\s]+$Name is the human readable name for the resource.
resource nameOrg is the organisation identifier.
wProject is the project identifier.
qTimestamp when the variable set was last updated.
1627686800BadRequestError: Bad Request response.
UnauthorizedError: Unauthorized response.
ForbiddenError: Forbidden response.
NotFoundError: Not Found response.
TimeoutError: Request Timeout response.
ConflictError: Conflict response.
LockedError: Locked response.
ContextCancelledError: response.
InternalServerError: Internal Server Error response.
BadGatewayError: Bad Gateway response.
PUT /api/variable-set/{identifier} HTTP/1.1
Host: localhost:80
Harness-Account: 0
Content-Type: application/json
Accept: */*
Content-Length: 2368
{
"connectors": [
{
"connector_ref": "6xz",
"created": 1627590400,
"id": 4697579475301698000,
"type": "vault",
"updated": 1627686800
},
{
"connector_ref": "6xz",
"created": 1627590400,
"id": 4697579475301698000,
"type": "vault",
"updated": 1627686800
},
{
"connector_ref": "6xz",
"created": 1627590400,
"id": 4697579475301698000,
"type": "vault",
"updated": 1627686800
},
{
"connector_ref": "6xz",
"created": 1627590400,
"id": 4697579475301698000,
"type": "vault",
"updated": 1627686800
}
],
"created": 1627590400,
"description": "this is a more detailed explanation of the resource.",
"environment_variables": {
"Eos quia quia illum ipsa.": {
"created": 1627590400,
"id": 495369201921333500,
"key": "s8",
"updated": 1627686800,
"value": "Sit eaque id alias blanditiis impedit rerum.",
"value_type": "number"
},
"Qui culpa consectetur voluptas amet.": {
"created": 1627590400,
"id": 495369201921333500,
"key": "s8",
"updated": 1627686800,
"value": "Sit eaque id alias blanditiis impedit rerum.",
"value_type": "number"
},
"Ut odio illo sapiente.": {
"created": 1627590400,
"id": 495369201921333500,
"key": "s8",
"updated": 1627686800,
"value": "Sit eaque id alias blanditiis impedit rerum.",
"value_type": "number"
}
},
"id": 6817943631325964000,
"name": "resource name",
"terraform_variable_files": [
{
"created": 1627590400,
"id": 6600913823231780000,
"repository": "Fugit ut ut totam provident temporibus voluptas.",
"repository_branch": "main",
"repository_commit": "abc10ed",
"repository_connector": "Fugit cumque voluptatem commodi.",
"repository_path": "",
"repository_sha": "abc10ed",
"updated": 1627686800
},
{
"created": 1627590400,
"id": 6600913823231780000,
"repository": "Fugit ut ut totam provident temporibus voluptas.",
"repository_branch": "main",
"repository_commit": "abc10ed",
"repository_connector": "Fugit cumque voluptatem commodi.",
"repository_path": "",
"repository_sha": "abc10ed",
"updated": 1627686800
}
],
"terraform_variables": {
"Eum et.": {
"created": 1627590400,
"id": 495369201921333500,
"key": "s8",
"updated": 1627686800,
"value": "Sit eaque id alias blanditiis impedit rerum.",
"value_type": "number"
},
"Reprehenderit qui velit.": {
"created": 1627590400,
"id": 495369201921333500,
"key": "s8",
"updated": 1627686800,
"value": "Sit eaque id alias blanditiis impedit rerum.",
"value_type": "number"
},
"Voluptatibus odio et nemo sit.": {
"created": 1627590400,
"id": 495369201921333500,
"key": "s8",
"updated": 1627686800,
"value": "Sit eaque id alias blanditiis impedit rerum.",
"value_type": "number"
}
},
"updated": 1627686800
}{
"account": "wgh",
"connectors": [
{
"connector_ref": "g6e",
"created": 1627590400,
"id": 8962279363599500000,
"type": "gcp",
"updated": 1627686800
},
{
"connector_ref": "g6e",
"created": 1627590400,
"id": 8962279363599500000,
"type": "gcp",
"updated": 1627686800
},
{
"connector_ref": "g6e",
"created": 1627590400,
"id": 8962279363599500000,
"type": "gcp",
"updated": 1627686800
}
],
"created": 1627590400,
"description": "this is a more detailed explanation of the resource.",
"environment_variables": {
"Consequuntur quos quidem molestiae ducimus amet voluptate.": {
"created": 1627590400,
"id": 6039675868838002000,
"key": "a3",
"updated": 1627686800,
"value": "Reprehenderit autem aut reiciendis.",
"value_type": "json"
}
},
"identifier": "kf",
"name": "resource name",
"org": "7",
"project": "ugp",
"terraform_variable_files": [
{
"created": 1627590400,
"id": 7266046153789191000,
"repository": "Error quisquam fugit.",
"repository_branch": "main",
"repository_commit": "abc10ed",
"repository_connector": "Nemo deleniti eos reprehenderit.",
"repository_path": "",
"repository_sha": "abc10ed",
"updated": 1627686800
},
{
"created": 1627590400,
"id": 7266046153789191000,
"repository": "Error quisquam fugit.",
"repository_branch": "main",
"repository_commit": "abc10ed",
"repository_connector": "Nemo deleniti eos reprehenderit.",
"repository_path": "",
"repository_sha": "abc10ed",
"updated": 1627686800
}
],
"terraform_variables": {
"Rerum explicabo recusandae sed dolore voluptatem.": {
"created": 1627590400,
"id": 6039675868838002000,
"key": "a3",
"updated": 1627686800,
"value": "Reprehenderit autem aut reiciendis.",
"value_type": "json"
},
"Sit qui unde optio nulla tempore.": {
"created": 1627590400,
"id": 6039675868838002000,
"key": "a3",
"updated": 1627686800,
"value": "Reprehenderit autem aut reiciendis.",
"value_type": "json"
}
},
"updated": 1627686800
}Last updated
Was this helpful?