UNPKG

@aws-amplify/auth

Version:
8 lines (7 loc) 251 B
/** * Deletes a user from the user pool while authenticated. * * @throws - {@link DeleteUserException} * @throws AuthTokenConfigException - Thrown when the token provider config is invalid. */ export declare function deleteUser(): Promise<void>;