Skip to main content

Get Tenants

Get list of tenants.

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/tenants

Request

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

Response

[
{
"tenantId": "dunder-mifflin",
"name": "Dunder Mifflin"
},
{
"tenantId": "In2sgYSjVG8etPU2",
"name": "tenant-name"
},
{
"tenantId": "In2sgYSjcktPU235",
"name": "tenant-name2"
}
]