Patch Remediation Variable

Patch Remediation Variable

This API is used for updating a remediation parameter. Update API expects all parameters retrived via get API. Fields "variable_key" is read-only and can't be updated. Any missing non mandatory field in update request, will be set to default values.

Request
URI
PATCH
https://{api_host}/tcsa.host.com/variables/{variable_key}
COPY
Path Parameters
string
variable_key
Required

Unique id, to indentify the parameter


Request Body
RemediationVariable of type(s) application/json
Required

Show optional properties

{
    "description": "test variable",
    "key": "testing",
    "value": "123"
}
{
    "key": "string",
    "value": "string",
    "description": "string"
}
string
key
Required

Name of the remediation parameter

string
value
Required

value associated with the key

string
description
Required

description of the parameter

Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns RemediationVariable of type(s) application/json
{
    "description": "test variable",
    "key": "testing",
    "value": "123"
}
string
key
Required

Name of the remediation parameter

string
value
Required

value associated with the key

string
description
Required

description of the parameter


400

Invalid Request sent by the user

Operation doesn't return any data structure

404

resouce not found

Operation doesn't return any data structure

500

Internal server error

Operation doesn't return any data structure