Retrieve all users in the database with their details. This endpoint is only accessible to admin users.
[ { "id": "78c30460ebbbdb349567a39a10a2c845", "name": "John Doe", "email": "john.doe@example.com", "image": "https://example.com/image.png", "role": "admin", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "userPlan": { "planType": "FREE", "planName": "Pro", "planStatus": "ACTIVE" } } ]
List of users retrieved successfully
The response is of type object[].
object[]
Was this page helpful?