| 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.eyJzdWIiOjE0NCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU2N30.cEGjecV1fru7ppeccgB8zWZPJKSoBzu6OvUeogDQYrE 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: 997e3ae6-c52e-4955-b90f-dd1e63de1bd5 x-runtime: 0.008363 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"
}
}
}