---
title: "Create or replace a feature profile (super_admin; versioned, stale version answers 409)"
method: PUT
path: "/api/admin/features/profiles/{profileId}"
tags: ["features"]
---

# Create or replace a feature profile (super_admin; versioned, stale version answers 409)

`PUT /api/admin/features/profiles/{profileId}`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/admin/features/profiles/{profileId}`
- Auth: none declared

## Path parameters

- `profileId` string, required

## Request body

- object
  - `label` string, required
  - `description` string
  - `flags` object, required
  - `note` string
  - `version` integer

## Response `200`

Saved.

- object
  - `defaults` object
  - `profiles` object
  - `version` integer
  - `updatedAt` string, date-time
  - `updatedBy` string

## Other responses

- `400`: Invalid request.
- `403`: Not allowed, or the feature is off for the organization.
- `404`: Unknown agent or version.
- `409`: Stale version.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
