---
title: "Update a Feature"
method: PATCH
path: "/features/{feature_id}"
tags: ["Feature"]
---

# Update a Feature

`PATCH /features/{feature_id}`

Update an existing feature and its eventSchema associations

## Path parameters

- `feature_id` string, required

## Request body

- UpdateFeatureRequest — Update a Feature properties
  - `name` string — Name of the feature
  - `billableName` string — Billable name of addon. Billable name takes precedence over name to display in invoice.
  - `schemaAssociations` EventSchemasForFeature[] — Association of a feature with event_schemas
    - `schemaName` string, required
    - `attributeName` string, required

## Response `200`

Response for Create and Get Feature requests

- Feature — Represents a Feature
  - `id` string, required
  - `name` string, required
  - `billableName` string
  - `displayName` string, required — Display name of feature. This is an auto-generated field which contains billableName of feature. If billableName is not provided, name will be used as display name.
  - `schemaAssociations` EventSchemasForFeature[], required — Association of a feature with event_schemas
    - `schemaName` string, required
    - `attributeName` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time

## Other responses

- `400` — Error response
- `401` — Error response
- `403` — Error response
- `404` — Error response
- `429` — Error response
- `default` — Error response

---

[API](https://skmtc.net/togaihq/apis/togai-apis.md) · [All operations](https://skmtc.net/togaihq/apis/togai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/togaihq/togai-apis/revisions/442f5d8f4aa0/schema)
