Skip to main content

Members

GET

/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

members:read

View members of an organization, including its owner.

members:read

Description

View members of an organization, including its owner.

Parameters

Parameter

Type

Description

root

object

—

p

number

Page number.

l

number

Page size (max 300). Default is 100.

s

"createdAt" | "-createdAt"

Sort field. Prefix with - for descending.

status

"new" | "active"

Filter members by membership status.

root

Type

object

Description

—

p

Type

number

Description

Page number.

l

Type

number

Description

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

200

Paginated list of members.

400

Validation error. Possible error codes: partnerOrganization.member.status.invalid (status is not one of the supported membership statuses).

401

Missing or invalid API key.

403

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

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.

POST

/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

members:write

Add and remove members of an organization.

members:write

Description

Add and remove members of an organization.

Request body

Field

Type

Description

email

string <email>

Required.

email

Type

string <email>

Description

Required.

Responses

Status

Description

201

Member added.

400

Validation error. Possible error codes: partnerOrganization.member.alreadyExists (email already a member of this organization).

401

Missing or invalid API key.

403

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

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.

GET

/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

members:read

View members of an organization, including its owner.

members:read

Description

View members of an organization, including its owner.

Responses

Status

Description

200

Owner member details.

401

Missing or invalid API key.

403

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

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.

GET

/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

members:read

View members of an organization, including its owner.

members:read

Description

View members of an organization, including its owner.

Parameters

Parameter

Type

Description

accountId

string

Required.

accountId

Type

string

Description

Required.

Responses

Status

Description

200

Member details.

401

Missing or invalid API key.

403

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

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.

DELETE

/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

members:write

Add and remove members of an organization.

members:write

Description

Add and remove members of an organization.

Parameters

Parameter

Type

Description

accountId

string

Required.

accountId

Type

string

Description

Required.

Responses

Status

Description

204

Member removed.

400

Business constraint violated. Possible error codes: partnerOrganization.member.removeOwner (cannot remove the owner of an organization).

401

Missing or invalid API key.

403

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

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.