[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Patch Remediation Variable
DescriptionThis 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
URLURL
https://{api_host}tcsa.host.com/variables/{variable_key}
Path Parameters
Path Parameters
string
variable_key
Required
Unique id, to indentify the parameter
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
This operation uses the following authentication methods.
Response
Response
Response BodyResponse 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
400
Invalid Request sent by the user
404
resouce not found
500
Internal server error
Code Samples
cURL Command
curl -X PATCH -H "Content-Type: application/json" -d '{"description":"test variable","key":"testing","value":"123"}' https://{api_host}tcsa.host.com/variables/{variable_key}
[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
On This Page
Remediation Rest Operations
delete
delete