update values
PUT /api/rest/admin/billing/service-types/:id
Parameters
Name |
Description |
data[type]
|
Resource type (service-types)
|
data[id]
|
Service type ID
|
data[attributes][name]
|
Name
|
data[attributes][provisioning-class]
|
Provisioning class
|
Request
Headers
Route
PUT /api/rest/admin/billing/service-types/8
Body
{"data":{"type":"service-types","id":8,"attributes":{"name":"name","provisioning-class":"Billing::Provisioning::Logging"}}}
Response
Headers
Status
200 OK
Body
{
"data": {
"id": "8",
"type": "service-types",
"links": {
"self": "http://example.org/api/rest/admin/billing/service-types/8"
},
"attributes": {
"name": "name",
"force-renew": false,
"provisioning-class": "Billing::Provisioning::Logging",
"variables": {
"foo": "bar"
}
}
}
}