v52

latestOpenAPI 3.0.1AGPL-3.0raw.githubusercontent.com2026-08-01255473862.7 KB
Features

Update feature

Use when changing feature definition (e.g. name, type, or meter). Request body contains the fields to update.

put/features/{id}

Path parameters

idstring required

Feature ID

Request body

descriptionstring
group_idstring

GroupID is the id of the group to assign the feature to. Pass empty string to clear.

metadataTypesMetadata
namestring
unit_pluralstring
unit_singularstring

Response

OK

created_atstring date-time
created_bystring
descriptionstring
environment_idstring
group_idstring
idstring
lookup_keystring
metadataTypesMetadata
meter_idstring
namestring
status'published' | 'deleted' | 'archived'
tenant_idstring
type'metered' | 'boolean' | 'static' | 'config'
unit_pluralstring
unit_singularstring
updated_atstring date-time
updated_bystring

Example response

{
  "meter": {
    "created_at": "2024-03-20T15:04:05Z",
    "event_name": "api_request",
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "API Usage Meter",
    "status": "published",
    "tenant_id": "tenant123",
    "updated_at": "2024-03-20T15:04:05Z"
  }
}