v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Rotations

Create an Okta Client Secret Rotation for the specified project.

post/api/v2/secret-rotations/okta-client-secret

Request body

namestring required

The name of the Okta Client Secret Rotation to create. Must be slug-friendly.

projectIdstring required

The ID of the project to create the rotation in.

descriptionstring nullable

An optional description for the Okta Client Secret Rotation.

connectionIdstring uuid required

The ID of the Okta Connection to use for rotation.

environmentstring required

The slug of the project environment to create the rotation in.

secretPathstring required

The secret path of the project to create the rotation in.

isAutoRotationEnabledboolean

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

rotationIntervalnumber required

The interval, in days, to automatically rotate secrets.

Response

Default Response