Skip to content
  • Auto
  • Light
  • Dark
Get started

Delete

Delete user
client.users.delete(stringusername, RequestOptionsoptions?): void
delete/user/{username}

This can only be done by the logged in user.

ParametersExpand Collapse
username: string
Delete user
import JustinDocsTest from 'justin-docs-test';

const client = new JustinDocsTest({
  apiKey: 'My API Key',
});

await client.users.delete('username');
Returns Examples