---
title: "Update a feature profile"
method: PUT
path: "/subscription/feature-profiles/{profile_id}"
tags: ["Feature Profiles"]
---

# Update a feature profile

`PUT /subscription/feature-profiles/{profile_id}`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/subscription/feature-profiles/{profile_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

## Path parameters

- `profile_id` integer, required

## Request body

- UpdateFeatureProfileRequestSchema
  - `name` string, nullable
  - `description` string, nullable
  - `features` FeatureProfileFeatureSchema[], nullable
    - `feature_id` integer, required
    - `price_per_month` number, nullable
    - `enabled` boolean, nullable
    - `value` string, nullable

## Response `200`

Request fulfilled, document follows

- FeatureProfileResponseSchema
  - `feature_profile` FeatureProfileSchema, required
    - `id` integer, required
    - `name` string, required
    - `description` string, nullable
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `features` SubscriptionsSchemaFeatureSchema[], nullable
      - `id` integer, required
      - `name` string, required
      - `description` string, nullable
      - `enabled` boolean, required
      - `kind` string, nullable: capacity | meter | enum | switch
      - `unit` string, nullable: Display unit (GB, /mo, days)
      - `group_name` string, nullable: Scale | Access | Brand | Governance | Service. NULL means the key is NEVER GATED — granted on every plan, listed apart from the registry
      - `enforcement` string, nullable: enforced | unenforced | unbuilt | unconfirmed | split | commitment
      - `note` string, nullable: What the product actually does today
      - `created_at` string, nullable
      - `updated_at` string, nullable
      - `used_in_profiles` string[], nullable
      - `values` string[], nullable
      - `value` string, nullable
      - `profile_count` integer, nullable
      - `number_of_values` integer, nullable
    - `features_count` integer, nullable
    - `used_in_plans` string[], nullable
    - `plan_count` integer, nullable
  - `message` string, required

## Other responses

- `400`: Bad request syntax or unsupported method

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
