v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Rotations

Update the specified LiteLLM API Key Rotation.

patch/api/v2/secret-rotations/litellm-api-key/{rotationId}

Path parameters

rotationIdstring uuid required

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

Request body

namestring

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

descriptionstring nullable

The updated description of the LiteLLM 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