Update an OAuth2 connection Run in API Explorer
Ask AI
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": "2cb23ce4-f10d-4a7e-b92f-3ee4dca57a3e",
"created_at": "2026-08-28T07:35:00+01:00",
"updated_at": "2026-08-28T07:35:00+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-08-28T10:35:00.575807Z",
"refresh_token_expires_at": "2027-08-28T06:35:00.575848Z",
"refresh_authorization_url": "https://api.plannrcrm.com/oauth/fundment/authorize/ab3aeb5e-96d3-4b89-83c1-e3d195a18881",
"label": "My Fundment Account 1"
}
]
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}