Skip to main content
POST
cURL
Create a new feature. Code must be lowercase alphanumeric with underscores.

Autorizaciones

x-api-key
string
header
requerido

Encabezados

Idempotency-Key
string

Unique key used to safely retry this write for 24 hours without applying it twice.

Required string length: 1 - 200
Commet-Version
string
predeterminado:2026-08-27

API version used by this reference. Send this header to select this contract explicitly.

Cuerpo

application/json
name
string
requerido
Minimum string length: 1
code
string
requerido
Minimum string length: 1
Pattern: ^[a-z0-9_]+$
type
enum<string>
requerido
Opciones disponibles:
boolean,
usage,
seats,
quota
description
string
unitName
string

Respuesta

Success

id
string
requerido
name
string
requerido
code
string
requerido
type
enum<string>
requerido
Opciones disponibles:
boolean,
usage,
seats,
quota
description
string | null
requerido
unitName
string | null
requerido
createdAt
string<date-time>
requerido
updatedAt
string<date-time>
requerido
object
string
requerido
Allowed value: "feature"
livemode
boolean
requerido