---
updatedAt: 2026-05-22T00:42:37.000Z
agentTools:
  projectIndex: https://docs.oneschema.co/llms.txt
---

# Update Azure Key Vault Account

Update a specific Azure Key Vault account connection.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Azure Key Vault",
    "version": "0.0.1",
    "contact": {
      "name": "OneSchema Support",
      "email": "support@oneschema.co"
    },
    "license": {
      "name": "proprietary",
      "url": "https://www.oneschema.co/terms-and-conditions"
    },
    "termsOfService": "https://www.oneschema.co/terms-and-conditions",
    "description": "An API for managing Azure Key Vault connections and managed secrets in OneSchema."
  },
  "tags": [
    {
      "name": "Azure Key Vault Accounts",
      "description": "Manage Azure Key Vault account connections"
    }
  ],
  "paths": {
    "/v0/azure-key-vault/accounts/{account-id}": {
      "patch": {
        "operationId": "update-azure-key-vault-account",
        "summary": "Update Azure Key Vault Account",
        "description": "Update a specific Azure Key Vault account connection.",
        "parameters": [
          {
            "name": "account-id",
            "in": "path",
            "required": true,
            "description": "The ID of the Azure Key Vault account",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The request has succeeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/azure-key-vault-account-resource"
                }
              }
            }
          },
          "400": {
            "description": "Validation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error-response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized (missing or invalid API key)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error-response"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error-response"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/error-response"
                }
              }
            }
          }
        },
        "tags": [
          "Azure Key Vault Accounts"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/azure-key-vault-account-patch-request"
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "components": {
    "schemas": {
      "azure-key-vault-account-patch-request": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the Azure Key Vault account connection"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "An optional description of the account connection"
          },
          "tenant_id": {
            "type": "string",
            "description": "The Azure AD (Microsoft Entra) tenant ID"
          },
          "client_id": {
            "type": "string",
            "description": "The Azure AD application (client) ID"
          },
          "client_secret": {
            "type": "string",
            "description": "The Azure AD application client secret"
          }
        }
      },
      "azure-key-vault-account-resource": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "The unique identifier of the account connection"
          },
          "name": {
            "type": "string",
            "description": "The name of the account connection"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "An optional description"
          },
          "tenant_id": {
            "type": "string",
            "description": "The Azure AD tenant ID"
          },
          "client_id": {
            "type": "string",
            "description": "The Azure AD application (client) ID"
          },
          "has_client_secret": {
            "type": "boolean",
            "description": "Whether a client secret is configured (value never exposed)"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "error-response": {
        "type": "object",
        "required": [
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "A machine-readable error code"
          },
          "param": {
            "type": "string",
            "description": "The parameter that caused the error"
          },
          "message": {
            "type": "string",
            "description": "A human-readable error message"
          },
          "data": {
            "type": "object",
            "description": "Additional error context"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.oneschema.co",
      "description": "Production server (hosted in the US)",
      "variables": {}
    },
    {
      "url": "https://api.eu.oneschema.co",
      "description": "Production server (hosted in the EU)",
      "variables": {}
    },
    {
      "url": "https://api.ca.oneschema.co",
      "description": "Production server (hosted in Canada)",
      "variables": {}
    },
    {
      "url": "https://api.au.oneschema.co",
      "description": "Production server (hosted in Australia)",
      "variables": {}
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```