Update an OAuth2 connection 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/oauth/connections/{oauthConnection_uuid}

Path parameters

  • oauthConnection_uuid string Required
application/json

Body

  • label string

    The label of the OAuth2 connection

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string
    • created_at string
    • updated_at string
    • provider object
      Hide provider attributes Show provider attributes object
      • name string
      • label string
      • logo_url string
      • authorization_url string
    • access_token_expires_at string
    • refresh_token_expires_at string
    • refresh_authorization_url string
    • label string
PUT /api/v1/oauth/connections/{oauthConnection_uuid}
curl \
 --request PUT 'https://api.plannrcrm.com/api/v1/oauth/connections/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"label":"My Fundment Account 1"}'
Request examples
{
  "label": "My Fundment Account 1"
}
Response examples (200)
[
  {
    "uuid": "4c789ad4-479b-4f92-aebf-85d2789c25fd",
    "created_at": "2026-07-17T15:25:30+01:00",
    "updated_at": "2026-07-17T15:25:30+01:00",
    "provider": {
      "name": "fundment",
      "label": "Fundment",
      "logo_url": "https://api.plannrcrm.com/imgs/fundment-banner.png",
      "authorization_url": "https://api.plannrcrm.com/oauth/fundment/authorize"
    },
    "access_token_expires_at": "2026-07-17T18:25:30.949223Z",
    "refresh_token_expires_at": "2027-07-17T14:25:30.949271Z",
    "refresh_authorization_url": "https://api.plannrcrm.com/oauth/fundment/authorize/dae7975e-f620-44a5-831c-050171f7d333",
    "label": "My Fundment Account 1"
  }
]