API ReferenceBilling plan
Update billing plan
Update an existing billing plan by ID
AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "http://localhost:18080/api/v1/billing/plans/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{
"active": true,
"baseMonthlyFee": 0.1,
"costPerExtraGb": 0.1,
"costPerExtraModule": 0.1,
"costPerExtraUser": 0.1,
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"description": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"id": "string",
"includedModules": [
"string"
],
"includedStorageGb": 0.1,
"includedUsers": 0,
"modulesPricing": {
"property1": 0.1,
"property2": 0.1
},
"name": "string",
"number": "string",
"sortOrder": 0,
"tenantId": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}