---
title: "Set customer feature"
method: PUT
path: "/v1/customers/{id}/features/{code}"
tags: ["Customers > Features"]
---

# Set customer feature

`PUT /v1/customers/{id}/features/{code}`

Set a feature override for a customer.

## Path parameters

- `id` string, required
- `code` string, required

## Request body

- object
  - `value` union, required — Feature value.
    - boolean
    - number
    - 'unlimited'
  - `reason` string, nullable — Reason associated with a customer feature override.
  - `expires_at` string, date-time, nullable — Expiration date of a customer feature override.

## Response `200`

- CustomerFeatureOverride
  - `feature_code` string, required — Feature code.
  - `value` union, required — Feature value.
    - boolean
    - number
    - 'unlimited'
  - `reason` string, nullable, required — Reason associated with a customer feature override.
  - `expires_at` string, date-time, nullable, required — Expiration date of a customer feature override.
  - `created_at` string, date-time, required — Creation date.
  - `updated_at` string, date-time, required — Last update date.

---

[API](https://skmtc.dev/hyperline/apis/hyperline-api.md) · [All operations](https://skmtc.dev/hyperline/apis/hyperline-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hyperline/hyperline-api/revisions/19fa5f22e39b/schema)
