Name | Description |
---|---|
data[type] | Resource type (network-types) |
data[id] | Network Type ID |
data[attributes][name] | Name |
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NjMsInN1YiI6MjIwfQ.KhmTdJDiK4bdbjRD59MQhiYXX5Ks8TNC5gWmkB3uz4E Host: example.org Cookie:
PUT /api/rest/admin/system/network-types/22
{"data":{"type":"network-types","id":22,"attributes":{"name":"name"}}}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 0 X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/vnd.api+json Vary: Accept ETag: W/"694bb66eff0cfd179d434f57fe2f7677" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 6f1db7bc-65ef-4c84-a739-ea9cc525ff9c X-Runtime: 0.011543 Content-Length: 149
200 OK
{ "data": { "id": "22", "type": "network-types", "links": { "self": "http://example.org/api/rest/admin/system/network-types/22" }, "attributes": { "name": "name" } } }