---
title: "Update Tenant Flags"
method: PATCH
path: "/internal/feature-flags/tenants/{tenant_name}"
tags: ["INTERNAL_FEATURE_FLAGS"]
---

# Update Tenant Flags

`PATCH /internal/feature-flags/tenants/{tenant_name}`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/internal/feature-flags/tenants/{tenant_name}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Apply the requested set/reset operations; returns the committed state.

## Path parameters

- `tenant_name` string, required

## Request body

- FlagChangeRequest
  - `changes` object, required
  - `host` string, nullable
  - `reason` string, nullable

## Response `200`

Successful Response

- TenantFlags
  - `tenant_name` string, required
  - `hosts` string[], required
  - `flags` TenantFlag[], required
    - `key` string, required
    - `type` string, required
    - `default` unknown
    - `editable` boolean, required
    - `host_scoped` boolean, required
    - `overridden` boolean, required
    - `override` unknown
    - `effective` unknown

## Other responses

- `400`: No IdP is configured for this login host
- `422`: Unknown flag, invalid value or login host
- `503`: Could not verify the identity provider configuration

## Changes

- **2026-10-07** `b4beb9e80982`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/myaltimate/apis/myaltimate-api/changes/internal/feature-flags/tenants/:tenant_name/patch.md)

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
