Secret Rotations

Update the specified MongoDB Credentials Rotation.

patch/api/v2/secret-rotations/mongodb-credentials/{rotationId}

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v2/secret-rotations/mongodb-credentials/{rotationId}
  • Auth
    none declared

Path parameters

rotationIdstring uuid required

The ID of the MongoDB Credentials Rotation to be updated.

Request body

namestring

The updated name of the MongoDB Credentials Rotation. Must be slug-friendly.

descriptionstring nullable

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

Changes

No recorded changes to this operation across all 65 revisions of this API.