Routing RoutingTagDetectionRules API

update values

PUT /api/rest/admin/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

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE5OCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc0MDg1MzA0MH0.eZBog9K7EpPjlwbALRB6hNTXiRIvB3Kp0UDgOjv-b1U
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/routing-tag-detection-rules/8

Body

{"data":{"type":"routing-tag-detection-rules","id":8}}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"3fe4970cffe4c19100dd17671f6c9c7d"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 55e289cf-ed4d-4698-9c5e-61da06032b5c
X-Runtime: 0.009942
Content-Length: 1312

Status

200 OK

Body

{
  "data": {
    "id": "8",
    "type": "routing-tag-detection-rules",
    "links": {
      "self": "http://example.org/api/rest/admin/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-tag-detection-rules/8/relationships/src-area",
          "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/8/src-area"
        }
      },
      "dst-area": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/8/relationships/dst-area",
          "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/8/dst-area"
        }
      },
      "routing-tag": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/8/relationships/routing-tag",
          "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/8/routing-tag"
        }
      },
      "tag-action": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/8/relationships/tag-action",
          "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/8/tag-action"
        }
      },
      "routing-tag-mode": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/8/relationships/routing-tag-mode",
          "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/8/routing-tag-mode"
        }
      }
    }
  }
}