NetworkTypes API

update values

PUT /api/rest/admin/system/network-types/:id

Parameters

Name Description
data[type] Resource type (network-types)
data[id] Network Type ID
data[attributes][name] Name

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzcsInN1YiI6MjAwfQ.GHzPb0fKcMoYrSzUemku8TikyXAPohSlTYTlXyUlCD4
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/system/network-types/17

Body

{"data":{"type":"network-types","id":17,"attributes":{"name":"name"}}}

Response

Headers

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/"bbfd1700a2c21bf2495136dcc4ee2118"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: e78d9c04-d3f1-4916-b3e4-e7ca4bd85b29
X-Runtime: 0.009821
Content-Length: 149

Status

200 OK

Body

{
  "data": {
    "id": "17",
    "type": "network-types",
    "links": {
      "self": "http://example.org/api/rest/admin/system/network-types/17"
    },
    "attributes": {
      "name": "name"
    }
  }
}