cURL
single
curl --request DELETE \ --url https://asteragents.com/api/admin/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userIds": [ "user_2ABC123DEF" ] } '
{ "success": true, "total": 2, "successful": 2, "failed": 0, "results": [ { "userId": "user_2ABC123DEF", "success": true }, { "userId": "user_2XYZ789GHI", "success": true } ] }
Remove multiple users from the organization in a single request.
JWT token from Clerk authentication.
Must be from a user with org:admin role.
org:admin
Array of Clerk user IDs to remove
1 - 50
All users removed successfully