Routing groups API

update values

PUT /api/rest/admin/routing/routing-groups/:id

Parameters

Name Description
data[type] Resource type (routing-groups)
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.eyJleHAiOjE3MzE1Nzg3NjEsInN1YiI6MTg4fQ.QGGueIu5aGGRwF2qXPOGYB3H5EsHJoF_hNdeqOTsoho
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/routing/routing-groups/37

Body

{"data":{"type":"routing-groups","id":37,"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/"6e23091f33a93872402eb0d3082b35a1"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 5fe3d1c6-0be3-4c54-86a6-42d347dde486
X-Runtime: 0.014885
Content-Length: 152

Status

200 OK

Body

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