Update plan feature
Update limits, overage, or enabled status of a feature on a plan.
Update limits, overage, or enabled status of a feature on a plan.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
0 <= value0 <= valuecurl -X PUT "https://commet.co/api/v1/plans/string/features/string" \ -H "Content-Type: application/json" \ -d '{}'Update limits, overage, or enabled status of a feature on a plan.
Plan public ID
Feature public ID
{
"success": true,
"data": {
"object": "plan",
"livemode": true,
"planId": "string",
"featureId": "string",
"enabled": true,
"includedAmount": 0,
"unlimited": true,
"overageEnabled"
{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}{
"success": false,
"error": {
"type": "validation_error",
"code": "string",
"message": "string",
"doc_url": "string",
"param": "string"
}
}