Skip to main content

List Users by Tenant

List the users associated with a specific tenant.

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 Query endpoint instead.

Endpoint

GET /v1/tenants/:tenantId/users

Parameters

ParameterDescriptionTypeRequired
tenantIdId of the tenant from which to fetch usersURL paramyes

Request

curl "https://api.warrant.dev/v1/tenants/43f86srgs/users" \
-H "Authorization: ApiKey YOUR_KEY"

Response

[
{
"userId": "a-user-id",
"email": "user@example.org"
},
{
"userId": "example2.com",
"email": "hello@example2com"
}
]