---
title: "A feature has been updated"
method: POST
path: "feature_updated"
---

# A feature has been updated

`POST feature_updated` (webhook)

A feature has been updated

## Headers

- `X-Lago-Signature` string, required
- `X-Lago-Signature-Algorithm` 'jwt' | 'hmac', required
- `X-Lago-Unique-Key` string, uuid, required

## Payload

- object
  - `webhook_type` 'feature.updated', required
  - `object_type` 'feature', required
  - `organization_id` string, uuid, required: Unique identifier of the organization, created by Lago.
  - `feature` FeatureObject, required
    - `code` string, required: Unique code used to identify the feature. Max 255 characters.
    - `name` string, nullable, required: Name of the feature. Max 255 characters.
    - `description` string, nullable, required: Description of the feature. Max 600 characters.
    - `privileges` FeaturePrivilegeObject[], required: Privileges associated with this feature. Can be empty.
      - `code` string, required: Unique code for the privilege.
      - `name` string, nullable, required: Display name for the privilege.
      - `value_type` 'integer' | 'boolean' | 'string' | 'select', required: Data type of the privilege value. It defaults to `string`.
      - `config` object, required: Extra configuration of the privilege. It is empty unless the value type is `select`.
        - `select_options` string[]: The values the privilege accepts. It is only sent when the value type is `select`.
    - `created_at` string, date-time, required: Creation date of the feature.

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

[API](https://skmtc.dev/getlago/apis/lago-api-documentation.md) - [All operations](https://skmtc.dev/getlago/apis/lago-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/getlago/apis/lago-api-documentation/revisions/b216574b9612?raw)
