Check out the configuration docs for PostgreSQL
Credentials Rotations to learn how to obtain the
required parameters.
Body
application/json
The name of the PostgreSQL Credentials Rotation to create. Must be slug-friendly.
Required string length: 
1 - 64The ID of the project to create the rotation in.
Minimum length: 
1The ID of the PostgreSQL Connection to use for rotation.
The slug of the project environment to create the rotation in.
Required string length: 
1 - 64The secret path of the project to create the rotation in.
Minimum length: 
1The interval, in days, to automatically rotate secrets.
Required range: 
x >= 1An optional description for the PostgreSQL Credentials Rotation.
Maximum length: 
256Whether secrets should be automatically rotated when the specified rotation interval has elapsed.
The hours and minutes rotation should occur at in UTC. Defaults to Midnight (00:00) UTC.
Response
Default Response