update values
PUT /api/rest/admin/routing/routing-tag-detection-rules/:id
Parameters
Name |
Description |
data[type]
|
Resource type (routing-tag-detection-rules)
|
data[id]
|
ID
|
data[attributes][src-prefix]
|
Src prefix
|
data[attributes][dst-prefix]
|
Dst prefix
|
data[attributes][tag-action-value]
|
Tag action value
|
data[attributes][routing-tag-ids]
|
Routing tag ids
|
data[relationships][src-area]
|
Src area
|
data[relationships][dst-area]
|
Dst area
|
data[relationships][tag-action]
|
Tag action
|
data[relationships][routing-tag-modes]
|
Routing tag modes
|
Request
Headers
Route
PUT /api/rest/admin/routing/routing-tag-detection-rules/8
Body
{"data":{"type":"routing-tag-detection-rules","id":8}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "8",
"type": "routing-tag-detection-rules",
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8"
},
"attributes": {
"src-prefix": "111",
"dst-prefix": "222",
"tag-action-value": [
],
"routing-tag-ids": [
]
},
"relationships": {
"src-area": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/src-area",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/src-area"
}
},
"dst-area": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/dst-area",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/dst-area"
}
},
"routing-tag": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/routing-tag",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/routing-tag"
}
},
"tag-action": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/tag-action",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/tag-action"
}
},
"routing-tag-mode": {
"links": {
"self": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/relationships/routing-tag-mode",
"related": "http://example.org/api/rest/admin/routing/routing-tag-detection-rules/8/routing-tag-mode"
}
}
}
}
}