The identifier of the organization.
GET
/admin/v1/organizations/{organizationId}/members/{userId}Get a member
Retrieves specified organization member.
Returns
The user.
The connected accounts.
The tenant connection.
The delegated connection.
The Google Cloud Identity Platform (Firebase Auth) connection.
The Postmark configuration data.
The from email address.
The Postmark account must be allowed to send from this email address.
The email address (e.g.
[email protected]
).The reply to email address.
The email address (e.g.
[email protected]
).The webhooks configuration data.
The payment methods for connections that support it.
The last payment error.
This will be unset if the payment method is updated or if a payment succeeds.
Card payment method (e.g. Visa credit card).
The user's default active individual subscription.
See memberships for organization subscription and seat information.
The plan.
The user's organization memberships.
The organization.
The connected accounts.
The tenant connection.
The delegated connection.
The Google Cloud Identity Platform (Firebase Auth) connection.
The Postmark configuration data.
The from email address.
The Postmark account must be allowed to send from this email address.
The email address (e.g.
[email protected]
).The reply to email address.
The email address (e.g.
[email protected]
).The webhooks configuration data.
The payment methods for connections that support it.
The last payment error.
This will be unset if the payment method is updated or if a payment succeeds.
Card payment method (e.g. Visa credit card).
The organization's default active subscription.
The plan.
The user's role within the organization.
The seat associated with the membership.
This will be absent if there is no active default subscription for the organization or the user has not been assigned a seat.
The user's role within the organization.
The seat associated with the member.
This will be absent if there is no active subscription for the organization or the user has not been assigned a seat.
curl https://api.userhub.com/admin/v1/organizations/org_28seyVGVL1got6/members/usr_MKFxzgJaAH8JQ4 \
-H "Authorization: Bearer $ADMIN_API_KEY"
const res = await adminApi.organizations.getMember(
"org_28seyVGVL1got6",
"usr_MKFxzgJaAH8JQ4",
);
res, err := adminApi.Organizations().GetMember(
context.Background(),
"org_28seyVGVL1got6",
"usr_MKFxzgJaAH8JQ4",
nil,
)
$res = $adminApi->organizations->getMember(
organizationId: 'org_28seyVGVL1got6',
userId: 'usr_MKFxzgJaAH8JQ4',
);
res = admin_api.organizations.get_member(
organization_id="org_28seyVGVL1got6",
user_id="usr_MKFxzgJaAH8JQ4",
)
{
"state": "ACTIVE",
"user": {
"id": "usr_MKFxzgJaAH8JQ4",
"state": "ACTIVE",
"displayName": "Jane Doe",
"email": "[email protected]",
"emailVerified": true,
"phoneNumber": "+12125550123",
"phoneNumberVerified": false,
"imageUrl": "https://example.com/jane.jpg",
"currencyCode": "USD",
"languageCode": "en",
"regionCode": "US",
"timeZone": "America/New_York",
"address": {
"lines": [
"42 West St"
],
"city": "Brooklyn",
"state": "New York",
"postalCode": "11222",
"country": "US"
},
"accountConnections": [],
"subscription": null,
"memberships": [],
"signupTime": "2024-06-15T13:00:00Z",
"createTime": "2024-06-15T13:00:00Z",
"updateTime": "2024-06-15T13:00:00Z"
},
"role": {
"id": "role_2mD13uXP",
"uniqueId": "member",
"displayName": "Member",
"type": "MEMBER",
"description": "Can see every member in the organization",
"permissionSets": [
"members.invite"
],
"default": true,
"archived": false,
"createTime": "2024-06-15T13:00:00Z",
"updateTime": "2024-06-15T13:00:00Z"
},
"seat": null,
"createTime": "2024-06-15T13:00:00Z",
"updateTime": "2024-06-15T13:00:00Z"
}