Pria UI now available in Dark mode !
cURL
curl --request DELETE \ --url https://pria.praxislxp.com/api/admin/user/{userId} \ --header 'x-access-token: <api-key>'
{ "success": true, "message": "User deleted successfully" }
Permanently removes a user from the system. This is an admin-only operation.
JWT token passed in x-access-token header
The unique identifier of the user to delete (MongoDB ObjectId)
User successfully deleted
Indicates if the operation was successful
true
Success message
"User deleted successfully"
Was this page helpful?