Delete user
Last updated
Was this helpful?
Last updated
Was this helpful?
Delete a user. This function is only available through a JWT token, and can only remove the current user.
/api/users/{userId}
User ID
User's current password. Required if the user has a password set.
TOTP Token. Required if a user has multi-factor authentication with a TOTP token enabled. If a user has MFA enabled, but no totpToken is submitted; then an error starting with "ERR_TOTP_TOKEN IS REQUIRED" is returned. Use this to then prompt for an MFA token and re-try this request.