Update an OAuth2 connection
Headers
-
Content-Type
string -
Accept
string
Path parameters
-
oauthConnection_uuid
string Required
PUT
/api/v1/oauth/connections/{oauthConnection_uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/oauth/connections/oauthConnection_uuid' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data '{"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": "ee1a3b88-1ae7-4598-9697-de23ad501f99",
"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-04-22T13:44:21+01:00",
"updated_at": "2025-04-22T13:44:21+01:00",
"access_token_expires_at": "2025-04-22T16:44:21.822420Z",
"refresh_token_expires_at": "2026-04-22T12:44:21.822476Z",
"refresh_authorization_url": "https://plannr.valet/oauth/fundment/authorize/9fe86252-389e-48b9-9a3c-4b09d82a693f"
}