UpdateKeysRequestBody - TypeScript SDK

UpdateKeysRequestBody type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

1import { UpdateKeysRequestBody } from "@openrouter/sdk/models/operations";
2
3let value: UpdateKeysRequestBody = {};

Fields

FieldTypeRequiredDescriptionExample
disabledbooleanWhether to disable the API keyfalse
includeByokInLimitbooleanWhether to include BYOK usage in the limittrue
limitnumberNew spending limit for the API key in USD75
limitResetoperations.UpdateKeysLimitResetNew limit reset type for the API key (daily, weekly, monthly, or null for no reset). Resets happen automatically at midnight UTC, and weeks are Monday through Sunday.daily
namestringNew name for the API keyUpdated API Key Name