Filter the results by display name.
To enable prefix filtering append *
to the end of the value and ensure you provide at least 3 characters excluding the wildcard.
This filter is case-insensitivity.
GET
/admin/v1/organizationsLists organizations.
curl https://api.userhub.com/admin/v1/organizations \
-H "Authorization: Bearer $ADMIN_API_KEY"
const res = await adminApi.organizations.list();
res, err := adminApi.Organizations().List(
context.Background(),
nil,
)
$res = $adminApi->organizations->list();
res = admin_api.organizations.list()
{
"organizations": [
{
"id": "org_32P6J2tQEaYQDV",
"state": "ACTIVE",
"displayName": "Umbrella Corporation",
"email": "[email protected]",
"emailVerified": true,
"imageUrl": "https://example.com/umbrella.jpg",
"address": null,
"accountConnections": [],
"subscription": null,
"signupTime": "2024-06-15T13:00:00Z",
"memberCount": 0,
"createTime": "2024-06-15T13:00:00Z",
"updateTime": "2024-06-15T13:00:00Z"
},
{
"id": "org_28seyVGVL1got6",
"state": "ACTIVE",
"displayName": "Acme Inc",
"email": "[email protected]",
"emailVerified": true,
"imageUrl": "https://example.com/acme.jpg",
"address": null,
"accountConnections": [],
"subscription": null,
"signupTime": "2024-06-15T13:00:00Z",
"memberCount": 0,
"createTime": "2024-06-15T13:00:00Z",
"updateTime": "2024-06-15T13:00:00Z"
}
],
"nextPageToken": ""
}