Create feature
Create a new feature. Code must be lowercase alphanumeric with underscores.
Create a new feature. Code must be lowercase alphanumeric with underscores.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
1 <= length^[a-z0-9_]+$1 <= length"boolean" | "usage" | "seats"application/json
curl -X POST "https://commet.co/api/v1/features/manage" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "code": "string", "type": "boolean" }'application/jsonapplication/json
Lowercase alphanumeric with underscores
Create a new feature. Code must be lowercase alphanumeric with underscores.
{
"success": true,
"data": {
"object": "feature",
"livemode": true,
"id": "string",
"name": "string",
"code": "string",
"type": "boolean",
"description": "string",
"unitName"
{
"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"
}
}