Skip to main content
POST
Search

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Body

application/json

The PersonalDeviceServiceSearchRequest message.

pageSize
integer<int32>

The maximum number of results to return per page.

pageToken
string

A pagination token returned from a previous Search call.

query
string

An optional case-insensitive filter on the device display name.

statusFilter
enum<string>

Which device statuses to return. Defaults to active devices only.

Available options:
PERSONAL_DEVICE_STATUS_FILTER_UNSPECIFIED,
PERSONAL_DEVICE_STATUS_FILTER_ACTIVE,
PERSONAL_DEVICE_STATUS_FILTER_REVOKED,
PERSONAL_DEVICE_STATUS_FILTER_ALL

Response

200 - application/json

Successful response

The PersonalDeviceServiceSearchResponse message.

list
Personal Device · object[] | null

The devices the calling user has registered, matching the search criteria.

nextPageToken
string

A token to retrieve the next page of results, or empty if there are no more.