Goto Home

🔐 GET /admin/users

Description

Request Query

Response Body

{ "users": [ { "_id": "687a21a4d059b54cbd556352", "name": "John Doe", "dob": "1998-01-23", "email": "john.doe@example.com", "auth": { "emailVerified": true, "phoneVerified": true, "twoFactorAuthentication": true }, "createdAt": "2025-07-18T10:27:48.297Z", "updatedAt": "2025-07-18T10:51:05.724Z", "phone": "+1 1234567899", "photo": "https://vibe.r2.ap-south-1.amazonaws.com/users/687a21a4d059b54cbd556352/1752835263638-4811266187365434-forest_2364458.png", "verified": true } ], "count": 1 }

🔐 GET /admin/users/:id

Description

Response Body

{ "user": { "_id": "687a21a4d059b54cbd556352", "name": "John Wick", "dob": "1998-01-23", "email": "john.doe@example.com", "auth": { "emailVerified": true, "phoneVerified": true, "twoFactorAuthentication": true }, "createdAt": "2025-07-18T10:27:48.297Z", "updatedAt": "2025-07-19T07:19:15.196Z", "phone": "+1 1234567899", "photo": "https://vibe-business.r2.ap-south-1.amazonaws.com/users/687a21a4d059b54cbd556352/1752835263638-4811266187365434-forest_2364458.png", "verified": true } }

🔐 PATCH /admin/users/:id

Description

Request Body

{ verified?: boolean }

🔐 DELETE /admin/users/:id

Description

Request Body

{ "terminated": true }

Links

Goto Home