Members
/lmp/api/v1/organizations/{organizationId}/members
List members of an organization
Returns a paginated list of members of the specified organization. A member's status is new until the member signs in with that email after being added, at which point it becomes active.
Required permission
Permission | Description |
|---|---|
| View members of an organization, including its owner. |
members:read
Description
View members of an organization, including its owner.
Parameters
Parameter | Type | Description |
|---|---|---|
|
| — |
|
| Page number. |
|
| Page size (max 300). Default is 100. |
|
| Sort field. Prefix with - for descending. |
|
| Filter members by membership status. |
root
Type
objectDescription
—
p
Type
numberDescription
Page number.
l
Type
numberDescription
Page size (max 300). Default is 100.
s
Type
"createdAt" | "-createdAt"Description
Sort field. Prefix with - for descending.
status
Type
"new" | "active"Description
Filter members by membership status.
Responses
Status | Description |
|---|---|
| Paginated list of members. |
| Validation error. Possible error codes: partnerOrganization.member.status.invalid (status is not one of the supported membership statuses). |
| Missing or invalid API key. |
| API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint. |
| Organization not found or does not belong to this partner. |
200
Description
Paginated list of members.
400
Description
Validation error. Possible error codes: partnerOrganization.member.status.invalid (status is not one of the supported membership statuses).
401
Description
Missing or invalid API key.
403
Description
API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint.
404
Description
Organization not found or does not belong to this partner.
/lmp/api/v1/organizations/{organizationId}/members
Add a member to an organization
Adds a member by email to the specified organization: one of your client organizations, or your own organization. The first member added to an organization is automatically set as the owner. A member's status is new until the member signs in with that email after being added, at which point it becomes active.
Required permission
Permission | Description |
|---|---|
| Add and remove members of an organization. |
members:write
Description
Add and remove members of an organization.
Request body
Field | Type | Description |
|---|---|---|
|
| Required. |
email
Type
string <email>Description
Required.
Responses
Status | Description |
|---|---|
| Member added. |
| Validation error. Possible error codes: partnerOrganization.member.alreadyExists (email already a member of this organization). |
| Missing or invalid API key. |
| API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint. |
| Organization not found or does not belong to this partner. |
201
Description
Member added.
400
Description
Validation error. Possible error codes: partnerOrganization.member.alreadyExists (email already a member of this organization).
401
Description
Missing or invalid API key.
403
Description
API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint.
404
Description
Organization not found or does not belong to this partner.
/lmp/api/v1/organizations/{organizationId}/members/owner
Get owner of an organization
Returns the owner member of the specified organization. A member's status is new until the member signs in with that email after being added, at which point it becomes active.
Required permission
Permission | Description |
|---|---|
| View members of an organization, including its owner. |
members:read
Description
View members of an organization, including its owner.
Responses
Status | Description |
|---|---|
| Owner member details. |
| Missing or invalid API key. |
| API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint. |
| Organization not found, does not belong to this partner, or has no owner. |
200
Description
Owner member details.
401
Description
Missing or invalid API key.
403
Description
API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint.
404
Description
Organization not found, does not belong to this partner, or has no owner.
/lmp/api/v1/organizations/{organizationId}/members/{accountId}
Get a member of an organization by account ID
Returns details of a specific member of the organization. A member's status is new until the member signs in with that email after being added, at which point it becomes active.
Required permission
Permission | Description |
|---|---|
| View members of an organization, including its owner. |
members:read
Description
View members of an organization, including its owner.
Parameters
Parameter | Type | Description |
|---|---|---|
|
| Required. |
accountId
Type
stringDescription
Required.
Responses
Status | Description |
|---|---|
| Member details. |
| Missing or invalid API key. |
| API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint. |
| Organization or member not found. |
200
Description
Member details.
401
Description
Missing or invalid API key.
403
Description
API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint.
404
Description
Organization or member not found.
/lmp/api/v1/organizations/{organizationId}/members/{accountId}
Remove a member from an organization
Removes a member from the specified organization. Removing the owner is not permitted (errorCode: partnerOrganization.member.removeOwner).
Required permission
Permission | Description |
|---|---|
| Add and remove members of an organization. |
members:write
Description
Add and remove members of an organization.
Parameters
Parameter | Type | Description |
|---|---|---|
|
| Required. |
accountId
Type
stringDescription
Required.
Responses
Status | Description |
|---|---|
| Member removed. |
| Business constraint violated. Possible error codes: partnerOrganization.member.removeOwner (cannot remove the owner of an organization). |
| Missing or invalid API key. |
| API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint. |
| Organization or member not found. |
204
Description
Member removed.
400
Description
Business constraint violated. Possible error codes: partnerOrganization.member.removeOwner (cannot remove the owner of an organization).
401
Description
Missing or invalid API key.
403
Description
API key is valid but the request is not allowed: the organization is not a channel partner, the request IP is not in the key's allow-list, or the key lacks the permission required by this endpoint.
404
Description
Organization or member not found.