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.eyJleHAiOjE3MjEyMzYzMjAsInN1YiI6MTg2fQ.4j3mMlB6djUm0VMksyod0KiB4b25iXWTY8BzznSepHw
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: bba57d1f-44db-47b5-bb69-d0d48ef30860
X-Runtime: 0.011523
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"
    }
  }
}