Update an OAuth2 connection
Headers
-
Content-Type string
-
Accept string
PUT
/api/v1/oauth/connections/{oauthConnection_uuid}
curl \
-X PUT https://api.plannrcrm.com/api/v1/oauth/connections/oauthConnection_uuid \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"label":"My Fundment Account 1"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"label": "My Fundment Account 1"
}
Response examples (200)
{
"uuid": "a83a51f0-4cae-4678-99c9-ff804525f588",
"label": "My Fundment Account 1",
"provider": {
"name": "fundment",
"label": "Fundment",
"logo_url": "https://api.plannrcrm.com/imgs/fundment-banner.png",
"authorization_url": "https://plannr.valet/oauth/fundment/authorize"
},
"created_at": "2025-01-17T11:18:33+00:00",
"updated_at": "2025-01-17T11:18:33+00:00",
"access_token_expires_at": "2025-01-17T15:18:33.545053Z",
"refresh_token_expires_at": "2026-01-17T11:18:33.545089Z",
"refresh_authorization_url": "https://plannr.valet/oauth/fundment/authorize/5809186e-f6e7-4507-aa06-9fa403b10f13"
}