Routing groups API

create new entry

POST /api/rest/admin/routing/routing-groups

Parameters

Name Description
data[type] Resource type (routing-groups)
data[attributes][name] Name

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NjEsInN1YiI6MTg3fQ.MYu0HhWMdl7r2ftMJ3HRkIyhXj-ddV-qG3NGVqRGS2Y
Host: example.org
Cookie: 

Route

POST /api/rest/admin/routing/routing-groups

Body

{"data":{"type":"routing-groups","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/"2734fa0b5eb68bbef8b1cd565da30b69"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 90e29f69-8e53-4d90-9e8b-73f906ac0f1c
X-Runtime: 0.012951
Content-Length: 152

Status

201 Created

Body

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