Update a scenario tag

put/scenarioTags/{scenarioTagId}

Updates a scenario tag based on the given identifier.

Request Samples

1

Response Samples

1{
2 "createdBy": "videmo",
3 "creationTimeStamp": "2024-04-18T14:29:18.628Z",
4 "domainId": "svidomain",
5 "links": [
6 {
7 "method": "GET",
8 "rel": "self",
9 "href": "/svi-alert/scenarioTags/scenarioIdExample",
10 "uri": "/svi-alert/scenarioTags/scenarioIdExample",
11 "type": "application/vnd.sas.investigation.triage.scenario.tag"
12 },
13 {
14 "method": "PUT",
15 "rel": "update",
16 "href": "/svi-alert/scenarioTags/scenarioIdExample",
17 "uri": "/svi-alert/scenarioTags/scenarioIdExample",
18 "type": "application/vnd.sas.investigation.triage.scenario.tag",
19 "responseType": "application/vnd.sas.investigation.triage.scenario.tag"
20 },
21 {
22 "method": "GET",
23 "rel": "domain",
24 "href": "/svi-alert/domains/svidomain",
25 "uri": "/svi-alert/domains/svidomain",
26 "type": "application/vnd.sas.investigation.triage.domain"
27 }
28 ],
29 "modifiedBy": "videmo",
30 "modifiedTimeStamp": "2024-04-18T14:29:18.628Z",
31 "scenarioTagId": "scenarioIdExample",
32 "scenarioTagName": "scenarioNameExample",
33 "version": 1
34}

Path Parameters

NameTypeRequiredDescription
scenarioTagId
string
true

Specifies the identifier for the given scenario tag.

<= 36 characters

Request Body

A scenario tag representation.

NameTypeRequiredDescription
domainId
string
false
<= 36 characters
scenarioTagId
string
false
<= 36 characters
scenarioTagName
string
false
<= 100 characters
logicalDeleteFlag
boolean
false
creationTimeStamp
string
false
modifiedTimeStamp
string
false
createdBy
string
false
modifiedBy
string
false
links
array [Link]
false

A link representation.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No scenario tag exists at the requested path.

Schema
412Precondition Failed

The If-Match request header did not match the scenario tag's entity tag, or the If-Unmodified-Since request header did not match the scenario tag's last modified timestamp.

Schema
428Precondition Required

The request headers did not include a If-Match or If-Unmodified-Since precondition.

Schema