update values
PUT /api/rest/admin/routing-plan-static-routes/:id
Parameters
| Name |
Description |
|
data[type]
|
Resource type (routing-plan-static-routes)
|
|
data[id]
|
Routing plan static route ID
|
|
data[attributes][prefix]
|
Prefix
|
|
data[attributes][priority]
|
Priority
|
|
data[attributes][weight]
|
Weight
|
Request
Headers
Route
PUT /api/rest/admin/routing-plan-static-routes/5
Body
{"data":{"type":"routing-plan-static-routes","id":5,"attributes":{"prefix":"5678"}}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "5",
"type": "routing-plan-static-routes",
"links": {
"self": "http://example.org/api/rest/admin/routing-plan-static-routes/5"
},
"attributes": {
"prefix": "5678",
"priority": 100,
"weight": 100,
"network-prefix-id": 255239
},
"relationships": {
"routing-plan": {
"links": {
"self": "http://example.org/api/rest/admin/routing-plan-static-routes/5/relationships/routing-plan",
"related": "http://example.org/api/rest/admin/routing-plan-static-routes/5/routing-plan"
},
"data": {
"type": "routing-plans",
"id": "11"
}
},
"vendor": {
"links": {
"self": "http://example.org/api/rest/admin/routing-plan-static-routes/5/relationships/vendor",
"related": "http://example.org/api/rest/admin/routing-plan-static-routes/5/vendor"
},
"data": {
"type": "contractors",
"id": "101"
}
}
}
}
}