Routeset discriminators API

update values

PUT /api/rest/admin/routing/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.eyJleHAiOjE3MzE1Nzg3NjEsInN1YiI6MTgzfQ.VSrDPs7gwMcDRY1UcR2h3MmyR6pmXgNkYOuk0dZhl70
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/routing/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-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"f4608e704318f6ba59b796cae49785d7"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 4158dde2-f7ea-4da7-81dc-d876d9454efe
X-Runtime: 0.014343
Content-Length: 170

Status

200 OK

Body

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