Directus / @directus/sdk / rest / deleteUser
Function: deleteUser() ​
deleteUser<
Schema
>(key
):RestCommand
<void
,Schema
>
Delete an existing user.
Type Parameters ​
• Schema
Parameters ​
• key: DirectusUser
<Schema
>["id"
]
Returns ​
RestCommand
<void
, Schema
>
Nothing
Throws ​
Will throw if key is empty