logoChakra
The agent guru

Remove User

Delete a user and all their sessions and accounts. Cannot be undone.

POST
/admin/remove-user

Delete a user and all their sessions and accounts. Cannot be undone.

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token authentication

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/admin/remove-user" \  -H "Content-Type: application/json" \  -d '{    "userId": "string"  }'
{  "success": true}