Internal (Ops)
POST
/system-credentials/{mode}/rotateSystem Credentials — Rotate
Path segment live is the mode (test|live). Internal ops app (port 5002, no api_version, guarded by the internal token header).
Request
Example
curl -X POST '{{internal_base_url}}/system-credentials/{{mode}}/rotate' \
-H 'Content-Type: application/json' \
-d '{}'Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{}Responses
200200 OK
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"current": null,
"message": "<string>",
"mode": null
}400400 Bad Request
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"error": "<string>"
}500500 Internal Server Error
Headers
| Name | Value |
|---|---|
| Content-Type | application/json |
Body
{
"error": null
}