Routing RoutingTag API

create new entry

POST /api/rest/admin/routing-tags

Parameters

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIwOCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU3MX0.V37WIJdXYEetv-W76s46rYhDnUvJzW_aDRGHevcgUeo
Host: example.org
Cookie: 

Route

POST /api/rest/admin/routing-tags

Body

{"data":{"type":"routing-tags","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
location: http://example.org/api/rest/admin/routing-tags/28
vary: Accept
etag: W/"6742258a2a82b582ee04f9e495455694"
cache-control: max-age=0, private, must-revalidate
x-request-id: d056a1b2-e05d-4d94-b2e0-3f4716efb075
x-runtime: 0.010189
content-length: 140

Status

201 Created

Body

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