Create Remediation Variable

Create Remediation Variable

This API is used for creating a new remediation parameter.

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

parameter name.


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

500

Internal server error

Operation doesn't return any data structure