---
title: "Update Feature"
method: PATCH
path: "/resources/features/v2/{featureId}"
tags: ["Features"]
---

# Update Feature

`PATCH /resources/features/v2/{featureId}`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/features/v2/{featureId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/features/v2/:featureId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update an existing feature

## Path parameters

- `featureId` string, required

## Request body

- UpdateFeatureDtoV2
  - `name` string: String representing the feature name
  - `key` string: String representing the feature key
  - `description` string: Feature description
  - `permissions` PermissionDto[]: Array of permissions linked to a feature
    - `permissionKey` string: Permission key
    - `permissionId` string: Permission identifier
  - `metadata` string: JSON String

## Response `200`

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
