v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Rotations

Update the specified Cloudflare API Token Rotation.

patch/api/v2/secret-rotations/cloudflare-api-token/{rotationId}

Path parameters

rotationIdstring uuid required

The ID of the Cloudflare API Token Rotation to be updated.

Request body

namestring

The updated name of the Cloudflare API Token Rotation. Must be slug-friendly.

descriptionstring nullable

The updated description of the Cloudflare API Token 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