---
title: "Mutate Provider Key"
method: POST
path: "/v1/web/admin/infrastructure/provider-keys/mutate"
tags: ["Web Admin", "Web Admin Infrastructure"]
---

# Mutate Provider Key

`POST /v1/web/admin/infrastructure/provider-keys/mutate`

## Request

- Base URL: `https://api.hydraai.ru` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hydraai.ru/v1/web/admin/infrastructure/provider-keys/mutate`
- Auth: none declared

## Request body

- ProviderKeyMutation
  - `operation_id` string, uuid, required
  - `reason` string, required
  - `mode` 'create' | 'update' | 'delete', required
  - `key` string, nullable
  - `expected_version` string, nullable
  - `settings` ProviderKeySettings
    - `key` string, required
    - `llm_provider_id` string, required
    - `active` boolean, required
    - `enable_at` string, date-time, nullable
    - `country_proxy` string, nullable
    - `comment` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-04** `42d3d2735311`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hydraai/apis/hydraai-api/changes/v1/web/admin/infrastructure/provider-keys/mutate/post.md)

---

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