NetworkTypes API

update values

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

Parameters

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

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE0NSwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU2N30.DWGhaBgWrsCdKHMKkN8z5qCaqgjMfKRF8yVBpS08_oY
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/network-types/22

Body

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

Response

Headers

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
vary: Accept
etag: W/"97726d8df605ec34361d9c840e2b6ada"
cache-control: max-age=0, private, must-revalidate
x-request-id: c372ef4a-78dc-43d4-89e3-dfed074287fb
x-runtime: 0.009639
content-length: 142

Status

200 OK

Body

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