| 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.eyJzdWIiOjE1MSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3NjM2NTczOX0.sBJwOTw7KCZ_NMUFEK7I63ZnQqh4wIHy4jN527zmzZU 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: 0f3e002b-601a-4331-891c-86a093bed72b x-runtime: 0.005948 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"
}
}
}