Search Account by Type
GET {{baseUrl}}/adAccounts?q=search&search=(type:(values:List(BUSINESS)))
Use the q=search parameter with the adAccountsV2 API to search for accounts by ID, name, reference, type, and status fields. Search criteria can be chained together for increased granularity. If a search query is omitted, all accounts the caller has access to are returned in the response. This example searches for accounts by the type(BUSINESS).
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
q | string | ||
search | string |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
LinkedIn-Version | string | ||
Authorization | string | ||
X-Restli-Protocol-Version | string |