Deactivate User

DELETE

https://api.sfox.com/v1/enterprise/account/:user_id

Deactivates a user account.


Deactivating the account will remove any connection between you and the user's account.

Requests to deactivate a user will fail unless the user's account balances are zero. Please be sure to have the user withdraw balances from their account prior to attempting deactivation.

Request

Path Parameters

Name
Type
Description

user_id required

string

User ID of the user's account to be disabled

Example Requests

curl -X DELETE \
-H "Authorization: Bearer ${ENTERPRISE_API_KEY}"  \
'https://api.sfox.com/v1/enterprise/account/${USER_ID}'

Response

Responses

200 OK
No body returned
422 Unprocessable Content
{
    "error": "Can not disable account with non-zero balances. Please remove all balances and try again."
}
404 Not Found
{
"error": "The account does not exist to be disabled."
}

Last updated