Subaccounts
Rotate Subaccount API Key
Replace the API key of a subaccount with a new one.
POST
/
v1
/
subaccounts
/
{subaccount_id}
/
rotate
Headers
authorization
string
requiredYour API key for authentication.
Path Parameters
subaccount_id
string
requiredThe unique identifier of the subaccount to which you want to transfer credits.
Response
status
string
Whether the subaccount creation succeeded.
subaccount_id
string
The affected subaccount’s unique identifier.
api_key
string
The new API key for the subaccount.