| Name | Description |
|---|---|
| data[type] | Resource type (network-types) |
| data[attributes][name] | Name |
Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE1MiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc4MTI3OTQwMH0.BdtNyUODhoh4nhV6I9f8tLdbrswiwonqZkCb-y5WpYw Host: example.org Cookie:
POST /api/rest/admin/network-types
{"data":{"type":"network-types","attributes":{"name":"name"}}}
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/network-types/21 vary: Accept etag: W/"7b8528fd1850e897742157a1b543ab1f" cache-control: max-age=0, private, must-revalidate x-request-id: 98a6b5eb-d201-4bd9-8ee2-8b91c1394f94 x-runtime: 0.007125 content-length: 142
201 Created
{
"data": {
"id": "21",
"type": "network-types",
"links": {
"self": "http://example.org/api/rest/admin/network-types/21"
},
"attributes": {
"name": "name"
}
}
}