Rotate an API key. The old pair stays live for 10 minutes, then is revoked.
curl -X POST \ https://api.geldstuck.com/v1/tenants/$TENANT_ID/api-keys/$KEY_ID/regenerate \ -H "x-api-key: $GELDSTUCK_PUBLIC_KEY" \ -H "x-api-secret: $GELDSTUCK_SECRET_KEY"
{ "id": "key_01HX3ZDE...", "label": "billing-worker", "publicKey": "pk_live_51H_new...", "secretKey": "sk_live_51H_new...", "status": "active", "oldKeyDeactivatesAt": "2026-04-22T12:10:00.000Z" }
pk_
sk_
keyId