cURL
curl --request DELETE \ --url https://api.example.com/api/auth/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userIds": [ "<string>" ] } '
{ "message": "<string>", "deletedCount": 123 }
Delete multiple users by their IDs
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Users deleted successfully