Remove seats
Remove seats from a customer's subscription. Takes effect at the end of the billing period.
Remove seats from a customer's subscription. Takes effect at the end of the billing period.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= length <= 200^[a-z0-9_]+$1 <= length <= 500 < valueapplication/json
application/json
curl -X DELETE "https://commet.co/api/seats" \ -H "Content-Type: application/json" \ -d '{ "customerId": "string", "seatType": "string", "count": 0 }'application/json
Remove seats from a customer's subscription. Takes effect at the end of the billing period.
{
"success": true,
"data": {
"id": "string",
"customerId": "string",
"seatType": "string",
"previousBalance": 0,
"newBalance": 0,
"ts": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
{
"success": false,
"code": "string",
"message": "string",
"details": null
}{
"success": false,
"code": "string",
"message": "string",
"details": null
}