cURL
curl --request GET \ --url https://api.tensormesh.ai/v1/admin/users \ --header 'Authorization: Bearer <token>'
{ "users": [ { "id": "<string>", "firstName": "<string>", "lastName": "<string>", "displayName": "<string>", "userEmail": "<string>", "authProvider": "AUTH_PROVIDER_UNSPECIFIED", "authProviderId": "<string>", "avatarUrl": "<string>", "stripeCusId": "<string>", "userRole": "USER_ROLE_UNSPECIFIED", "apiKey": "<string>", "company": "<string>", "tosAcceptedAt": "2023-11-07T05:31:56Z", "surveyCompletedAt": "2023-11-07T05:31:56Z" } ], "page": 123, "size": 123, "total": 123 }
Admin-only user listing and role-change operations.
Bearer authentication using an access token. Format: Bearer <access_token>
The unique ID of the operator user.
Page number (1-based).
Page size.
A successful response.
ListUsersResponse is the response for listing users.
Users in the page.
Show child attributes
Current page number.
Total number of users.