PUT
/
customer-organizations
/
{id}
/
members
curl --request PUT \
  --url https://eu.sequencehq.com/api/customer-organizations/{id}/members \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customerIds": [
    "e06f36e2-0a44-404d-bdbc-b66a292609b0"
  ]
}'
{
  "id": "c0dc4e79-ec52-4811-8cf5-addb2527915c",
  "owner": {
    "id": "50af5191-05a3-42a5-802a-6b59091157af",
    "name": "FinTech Solutions Inc."
  },
  "members": [
    {
      "id": "e06f36e2-0a44-404d-bdbc-b66a292609b0",
      "name": "FinTech Wealth Management"
    }
  ]
}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Path Parameters

id
string
required

Customer organisation ID

Body

application/json
customerIds
string[]
required

IDs of customers to add to an existing organization.

Example:
["e06f36e2-0a44-404d-bdbc-b66a292609b0"]

Response

200
application/json
OK
id
string
required

Organization ID

Example:

"c0dc4e79-ec52-4811-8cf5-addb2527915c"

owner
object
required

ID of the customer that will own the organization.

Example:
{
  "id": "50af5191-05a3-42a5-802a-6b59091157af",
  "name": "FinTech Solutions Inc."
}
members
object[]
required

Members of the customer organization, excluding the owner. These are the children in a parent-child relationship.

ID of the customer that will own the organization.

Example:
[
  {
    "id": "e309e948-088e-4d77-b654-cd85498f1555",
    "name": "Fintech Payment Processing"
  },
  {
    "id": "50af5191-05a3-42a5-802a-6b59091157af",
    "name": "Fintech Lending Services"
  }
]