POST /api/system/rotate-db-password
Rotate database password
Triggers a database password rotation. This endpoint is designed to be called by AWS Lambda after a successful secret rotation in AWS Secrets Manager. Requires a special authentication header instead of normal session authentication.
Try it out
Loading...
Output:
Responses
Description
Database password rotated successfully
{ "success": true, "message": "Database password rotated successfully", "timestamp": "2024-01-15T10:30:00.000Z"}Description
Unauthorized - Missing or invalid rotation secret
{ "error": "Unauthorized"}Description
Internal server error during rotation
{ "error": "Internal server error", "message": "Failed to retrieve secret from AWS"}Or the swagger.yaml spec this documentation was generated from:
/system/rotate-db-password/swagger.yaml