Starts a secret rotation for the given addon. New credentials are created with the same permissions; the old credentials remain valid until the rotation is finalised.
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.
API
CLI
JS Client
POST /v1/projects/{projectId}/addons/{addonId}/secret-rotation
POST /v1/teams/{teamId}/projects/{projectId}/addons/{addonId}/secret-rotation
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}