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.eyJzdWIiOjIxNSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAxMH0.rIZ2MgALQXazOEsUe-b4nJprdX-5FkcmZyhjkjyy5Os
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: 0b82d2e7-ef66-4e08-a67e-93bc5001ec54
x-runtime: 0.008805
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"
    }
  }
}