Add or remove members from a business unit Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.plannrcrm.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"PlannrCRM MCP server": {
  "url": "https://apidocs.plannrcrm.com/mcp"
}
Close
POST /api/v1/business-units/{business_unit_uuid}/members/{action}

Bulk add or remove account members from a business unit. When adding, accounts already assigned to a different business unit are reassigned to this one.

Path parameters

  • business_unit_uuid string Required
  • action string Required

    The action to perform. Allowed: add, remove.

  • business_unit string Required

    The UUID of the business unit.

application/json

Body

  • accounts array[string(uuid)] Required

    UUIDs of accounts to add to or remove from the business unit.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • successful array[string]
    • failed array
POST /api/v1/business-units/{business_unit_uuid}/members/{action}
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/business-units/6ff8f7f6-1eb3-3525-be4a-3932c805afed/members/add' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"accounts":["cb52d93f-8709-41d1-942e-191e68483ad6","8845f23e-9d95-41e0-87e6-f75760a6fef4","d613bb22-507b-4f9c-9eb8-67ccb3277a2c"]}'
Request examples
{
  "accounts": [
    "cb52d93f-8709-41d1-942e-191e68483ad6",
    "8845f23e-9d95-41e0-87e6-f75760a6fef4",
    "d613bb22-507b-4f9c-9eb8-67ccb3277a2c"
  ]
}
Response examples (200)
{
  "successful": [
    "uuid-1",
    "uuid-2"
  ],
  "failed": []
}