update values
PUT /api/rest/admin/system/networks/:id
Parameters
Name |
Description |
data[type]
|
Resource type (networks)
|
data[id]
|
Network ID
|
data[attributes][name]
|
Name
|
data[relationships][network-type]
|
Network type
|
Request
Headers
Route
PUT /api/rest/admin/system/networks/4657
Body
{"data":{"type":"networks","id":4657,"attributes":{"name":"name"},"relationships":{"network-type":{"data":{"type":"network_types","id":25}}}}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "4657",
"type": "networks",
"links": {
"self": "http://example.org/api/rest/admin/system/networks/4657"
},
"attributes": {
"name": "name"
},
"relationships": {
"network-type": {
"links": {
"self": "http://example.org/api/rest/admin/system/networks/4657/relationships/network-type",
"related": "http://example.org/api/rest/admin/system/networks/4657/network-type"
}
}
}
}
}