Skip to main content
PUT
Regenerate Subaccount Keys

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
subaccount_user_id
integer

ID of the specific subaccount whose key should be regenerated; mutually exclusive with regenerate_all

Example:

56789

regenerate_all
boolean

If true, regenerate keys for all subaccounts by rotating the owner seed; mutually exclusive with subaccount_user_id

Response

Keys regenerated: {"success": true, "regenerated_keys": [{"user_id": ..., "email": ..., "derived_key": ...}]}

success
boolean

Always true on success

regenerated_keys
object[]

One entry per regenerated subaccount