[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance

Create Remediation Variable

Description

This API is used for creating a new remediation parameter.

Request

Request

URL

URL


post
https://{api_host}tcsa.host.com/variables/{variable_key}
Copy

Path Parameters

Path Parameters

string
variable_key Required

parameter name.


Request Body

Request Body

RemediationVariable of mimetype application/json Required
{
    "description": "test variable",
    "key": "testing",
    "value": "123"
}
string
description Required

description of the parameter


string
key Required

Name of the remediation parameter


string
value Required

value associated with the key

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created

Returns RemediationVariable of type application/json
string
description Required

description of the parameter


string
key Required

Name of the remediation parameter


string
value Required

value associated with the key

Errors

Errors

400

Invalid Request sent by the user


500

Internal server error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"description":"test variable","key":"testing","value":"123"}' https://{api_host}tcsa.host.com/variables/{variable_key}


Feedback

Was this page helpful?