Finalises an in-progress secret rotation for the given addon. The old credentials are permanently removed. MySQL user-facing finalisation disconnects sessions for the rotated users; full finalisation restarts the addon. RabbitMQ finalisation removes old accounts and attempts to close their sessions, but some sessions can remain open. It does not pause the addon again, including after full rotation. Redis and MinIO complete rotation automatically and do not support this endpoint.
Required permission
Project > Addons > General > Update
Path parameters
projectId
string requiredID of the projectaddonId
string requiredID of the addon
Response body
- {object}Response object.
data
{object} requiredResult data.
POST /v1/projects/{projectId}/addons/{addonId}/secret-rotation/finalise
POST /v1/teams/{teamId}/projects/{projectId}/addons/{addonId}/secret-rotation/finalise
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}