v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Rotations

Update the specified OpenRouter API Key Rotation.

patch/api/v2/secret-rotations/open-router-api-key/{rotationId}

Path parameters

rotationIdstring uuid required

The ID of the OpenRouter API Key Rotation to be updated.

Request body

namestring

The updated name of the OpenRouter API Key Rotation. Must be slug-friendly.

descriptionstring nullable

The updated description of the OpenRouter API Key Rotation.

isAutoRotationEnabledboolean

Whether secrets should be automatically rotated when the specified rotation interval has elapsed.

rotationIntervalnumber

The updated interval, in days, to automatically rotate secrets.

Response

Default Response