Skip to main content
POST
/
v1
/
security
/
keys
/
rotate
Rotate Key Pair (ED25519)
curl --request POST \
  --url https://api.runly.pro/v1/security/keys/rotate \
  --header 'Authorization: Bearer <token>'
{
  "status": {
    "code": 200,
    "message": "OK",
    "trace_id": "tr_key_rot"
  },
  "data": {
    "public_key": "...",
    "message": "Crypto key pair rotated."
  },
  "usage": {
    "latency_ms": 45
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Rotation Result

status
object
required
data
object
output
object
usage
object