List Users
List users.
caution
This endpoint has been deprecated and will be phased out at the end of 2023. Please update any existing usages of it to use the List Objects endpoint instead.
Endpoint
GET /v1/users
Request
- cURL
- Go
- Java
- Node.js
- Python
- Ruby
- PHP
curl "https://api.warrant.dev/v1/users" \
-H "Authorization: ApiKey YOUR_KEY"
users, err := user.ListUsers(&warrant.ListUserParams{
ListParams: warrant.ListParams{
Limit: 10,
},
})
ListResult<User> users = client.listUsers(new ListParams().withLimit(10));
const users = warrantClient.User.listUsers({ limit: 10 });
users = warrant.User.list({"limit": 10})
users = Warrant::User.list({ limit: 10 })
Response
[
{
"userId": "newUser2",
"email": "email2@userid.com"
},
{
"userId": "email@userid.com",
"email": null
},
{
"userId": "04a2f51d-f3ce-4fa7-8aa6-26cc802d236e",
"email": null
},
{
"userId": "user1",
"email": null
}
]