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

KeyDatatypeRequiredDescription
qstring
searchstring

HEADERS

KeyDatatypeRequiredDescription
LinkedIn-Versionstring
Authorizationstring
X-Restli-Protocol-Versionstring