Routeset discriminators API

update values

PUT /api/rest/admin/routeset-discriminators/:id

Parameters

Name Description
data[type] Resource type (routeset-discriminators)
data[id] Routing group ID
data[attributes][name] Name

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE4MiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc0MDg1MzAzOX0.d82ocWrpycN5JnpJeI2ogF8ht799M2l-oY9Xp-9O9no
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/routeset-discriminators/17

Body

{"data":{"type":"routeset-discriminators","id":17,"attributes":{"name":"name"}}}

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/"7458abf5972b38c572b64f9ff4d1ac60"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 2110621f-cd6d-4fc2-951d-40d89bdb6772
X-Runtime: 0.015267
Content-Length: 162

Status

200 OK

Body

{
  "data": {
    "id": "17",
    "type": "routeset-discriminators",
    "links": {
      "self": "http://example.org/api/rest/admin/routeset-discriminators/17"
    },
    "attributes": {
      "name": "name"
    }
  }
}