List users for a sub-organization.
GET/print-mail/v1/sub_organizations/{id}/users
List users for a sub-organization.
Query Parameters
search: optional string
You can supply any string to help narrow down the list of resources. For example, if you pass "New York" (quoted), it will return resources that have that string present somewhere in their response. Alternatively, you can supply a structured search query. See the documentation on StructuredSearchQuery for more details.
Returns
List users for a sub-organization.
curl https://api.postgrid.com/print-mail/v1/sub_organizations/$ID/users \
-H "X-API-Key: $POSTGRID_PRINT_MAIL_API_KEY"[
{
"id": "user_abc123def456ghi6789",
"pendingInvite": false,
"organization": "org_abc123def456ghi6789",
"email": "[email protected]",
"name": "Calvin",
"verifiedEmail": true,
"roles": [
"role_abc123def456ghi6789"
]
}
]Returns Examples
[
{
"id": "user_abc123def456ghi6789",
"pendingInvite": false,
"organization": "org_abc123def456ghi6789",
"email": "[email protected]",
"name": "Calvin",
"verifiedEmail": true,
"roles": [
"role_abc123def456ghi6789"
]
}
]