Add or remove members from a business unit Run in API Explorer
Ask AI
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.
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":["fd78784f-9f5a-43da-ba26-963d5586f2da","7e033bc6-15cf-456d-82f1-385832b2540c","d374dd7a-b7e5-4eb7-a0db-723594ab1495"]}'
Request examples
{
"accounts": [
"fd78784f-9f5a-43da-ba26-963d5586f2da",
"7e033bc6-15cf-456d-82f1-385832b2540c",
"d374dd7a-b7e5-4eb7-a0db-723594ab1495"
]
}
Response examples (200)
{
"successful": [
"uuid-1",
"uuid-2"
],
"failed": []
}