Skip to Content
Anuma SDKClientInternalFunctionsdeleteApiV1AdminUsersDelete

deleteApiV1AdminUsersDelete

deleteApiV1AdminUsersDelete<ThrowOnError>(options: Options<DeleteApiV1AdminUsersDeleteData, ThrowOnError>): RequestResult<DeleteApiV1AdminUsersDeleteResponses, DeleteApiV1AdminUsersDeleteErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:452 

Delete user account (admin)

Permanently deletes a user account and all associated cascading data (enrollments, requests, credit claims, etc.) and best-effort cancels any Stripe subscription. Accepts wallet_address, phone, telegram, or email (exactly one required). Returns stripe_cleanup_succeeded=false when the account was deleted but the Stripe customer cleanup failed — operator must clean up Stripe manually.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<DeleteApiV1AdminUsersDeleteData, ThrowOnError>

Returns

RequestResult<DeleteApiV1AdminUsersDeleteResponses, DeleteApiV1AdminUsersDeleteErrors, ThrowOnError>

Last updated on