UpdateKeysRequest - TypeScript SDK

UpdateKeysRequest type definition

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

Example Usage

1import { UpdateKeysRequest } from "@openrouter/sdk/models/operations";
2
3let value: UpdateKeysRequest = {
4 hash:
5 "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",
6 requestBody: {},
7};

Fields

FieldTypeRequiredDescriptionExample
hashstring✔️The hash identifier of the API key to updatesk-or-v1-0e6f44a47a05f1dad2ad7e88c4c1d6b77688157716fb1a5271146f7464951c96
requestBodyoperations.UpdateKeysRequestBody✔️N/A{"name": "Updated API Key Name","disabled": false,"limit": 75,"limit_reset": "daily","include_byok_in_limit": true}