Headers

  • X-PLANNR-ACCOUNT-UUID string

Path parameters

  • client_uuid string Required
application/json

Body

  • mode string Required

    The mode that you want to apply when managing owners. Available options: attach, detach, sync.

    Values are attach, detach, or sync.

  • owners array[string(uuid)] Required

    An array containing the owners you want to manage.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/client/{client_uuid}/owners
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/client/6ff8f7f6-1eb3-3525-be4a-3932c805afed/owners' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"mode":"attach","owners":["ff384773-1fe4-4022-8be6-d1a9db3a9889","cdcc8118-0b6d-45d5-85f8-5cc6fd312d3f","58393ff9-7a43-4ac4-a848-9ce8ad4cde92"]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "mode": "attach",
  "owners": [
    "ff384773-1fe4-4022-8be6-d1a9db3a9889",
    "cdcc8118-0b6d-45d5-85f8-5cc6fd312d3f",
    "58393ff9-7a43-4ac4-a848-9ce8ad4cde92"
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}