Update Terraform Version Using PATCH

Update Terraform Version Using PATCH

Updates a terraform version

Request
URI
PATCH
https://{api_host}/blueprint/api/blueprint-integrations/terraform/versions/{versionId}
COPY
Path Parameters
string
versionId
Required

versionId

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /blueprint/api/about


Request Body
TerraformVersion of type(s) application/json
Required
{
    "authenticationType": "string",
    "createdAt": "string",
    "createdBy": "string",
    "description": "string",
    "enabled": false,
    "id": "string",
    "orgId": "string",
    "password": "string",
    "sha256Checksum": "string",
    "updatedAt": "string",
    "updatedBy": "string",
    "url": "string",
    "username": "string",
    "version": "string"
}
string
authenticationType
Optional

The type of authentication for the download url

Possible values are : NONE, BASIC,
string As date-time As date-time
createdAt
Optional

Created time

string
createdBy
Optional

Created by

string
description
Optional

Version description

boolean
enabled
Optional

Version status

string As uuid As uuid
id
Optional

Version ID

string
orgId
Optional

Org ID

string
password
Optional

The password for basic authentication

string
sha256Checksum
Optional

The sha256 checksum of the terraform binary

string As date-time As date-time
updatedAt
Optional

Updated time

string
updatedBy
Optional

Updated by

string
url
Optional

Download url

string
username
Optional

The user name for basic authentication

string
version
Optional

The numeric version of terraform release

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns TerraformVersion of type(s) application/json
"TerraformVersion Object"
string
authenticationType
Optional

The type of authentication for the download url

Possible values are : NONE, BASIC,
string As date-time As date-time
createdAt
Optional

Created time

string
createdBy
Optional

Created by

string
description
Optional

Version description

boolean
enabled
Optional

Version status

string As uuid As uuid
id
Optional

Version ID

string
orgId
Optional

Org ID

string
password
Optional

The password for basic authentication

string
sha256Checksum
Optional

The sha256 checksum of the terraform binary

string As date-time As date-time
updatedAt
Optional

Updated time

string
updatedBy
Optional

Updated by

string
url
Optional

Download url

string
username
Optional

The user name for basic authentication

string
version
Optional

The numeric version of terraform release


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}'