curl --location --request POST '/accounts' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "name='\''WINPC-4291'\'' AND status IN ('\''active'\'', '\''pending'\'')",
"distinct_count": "string",
"sort": "name desc, id",
"limit": 10,
"offset": 0,
"include_total_count": true
}'{
"pagination": {
"count": 0,
"total_count": 1000
},
"distinct_values": [
{
"value": null,
"count": 0
}
],
"items": [
{
"id": "8CA67511-744C-4D74-B26E-7281CF88712F",
"source": "unspecified",
"external_id": "00u1e8VTUYyPDmZLkXXX",
"email": "joe.smith@example.com",
"name": "Joe Smith",
"first_name": "John",
"last_name": "Doe",
"manager": "manager@example.com",
"job_title": "Software Engineer",
"department": "Engineering",
"company": "Acme Inc",
"division": "Product Division",
"cost_center": "CC-001",
"location": {
"city": "San Francisco",
"state": "CA",
"country": "USA"
},
"level": 3,
"state": "unspecified",
"password_changed": "2021-01-15T00:00:00Z",
"login": "john.doe",
"phones": [
"+1-555-123-4567"
],
"aliases": [
"john@example.com"
],
"avatar": {
"url": "https://example.com/avatars/user.jpg",
"content_type": "image/jpeg"
}
}
]
}