Update a client link 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
PUT /api/v1/client/{client_uuid}/linked-clients/{uuid}

Path parameters

  • client_uuid string Required

    The UUID of the client.

  • uuid string Required

    The UUID of the linked client.

application/json

Body

  • relationship string Required

    The relationship to the linked client.

  • inverse_relationship string Required

    The inverse relationship to the client.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The unique identifier of the linked client.

    • name string

      The name of the linked client.

    • relationship string

      The relationship to the linked client.

  • 422 application/json

    Validation error

    Hide response attributes Show response attributes object
    • message string Required

      A human-readable description of the error.

    • errors object

      Validation messages keyed by the field that failed.

      Hide errors attribute Show errors attribute object
      • * array[string] Additional properties
PUT /api/v1/client/{client_uuid}/linked-clients/{uuid}
curl \
 --request PUT 'https://api.plannrcrm.com/api/v1/client/dcf0-484e-a0c5-08590fe89a84-f6aa1670/linked-clients/ab09-5f4d-a0c5-099bb7e89a84-e4ba1982' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"relationship":"Son","inverse_relationship":"Father"}'
Request examples
{
  "relationship": "Son",
  "inverse_relationship": "Father"
}
Response examples (200)
{
  "uuid": "e6429eac-e2ff-4daf-9b60-cb685800cb47",
  "name": "Gareth",
  "relationship": "Father"
}
Response examples (422)
{
  "message": "The given data was invalid.",
  "errors": {
    "field": [
      "The field is invalid."
    ]
  }
}