Commet
  • Precios
Iniciar SesiónRegistrarse
Create feature POSTDelete feature DELETEGet feature access GETList features GETUpdate feature PUT
DocumentaciónRecursosConstruir con AIAPI ReferenceWebhooks

Delete feature

Delete a feature. Fails if the feature is attached to active plans or has an active add-on.

Create feature POST

Create a new feature. Code must be lowercase alphanumeric with underscores.

Get feature access GET

Get feature access details. Use action=canUse to check if customer can consume one more unit.

DELETE
/features/{code}/manage

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

code*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://commet.co/api/v1/features/string/manage"

Delete a feature. Fails if the feature is attached to active plans or has an active add-on.

Feature code or public ID

{
  "success": true,
  "data": {
    "id": "string",
    "deleted": true
  }
}
{
  "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"
  }
}