Rename a connection
https://api.floconnector.com/v1/connections/{id}- Scope
connections.write- Rate limit
- the key's write budget, 60 a minute
Sets label, the name people see for the account in FloConnector. The vendor's own name stays in resolved_name, and null or an empty string clears the label so org falls back to it. Nothing else about the connection changes.
Path parameters
The connection's id.
Body
The fields it takes:
labelstringnullablerequiredA name for the connected account here. Null or empty falls back to the vendor's own name.
Max length 80
Responses
200Success
connectionobjectThe connection, after the change.
ShowHide 17 fields
idstringThe connection's id.
vendorstringThe connector's vendor slug, e.g. xero.
orgstringnullableThe best name for the connected account: label, else resolved_name, else handle. Null when none of them is set.
labelstringnullableThe name a person gave the account in FloConnector. Null when none is set.
resolved_namestringnullableThe vendor's own name for the account, as FloConnector resolved it. Null when the vendor gave none.
account_refstringnullableWhat tells this account apart from another of the same name: an email, a shop domain or a channel id. Null when none was found.
handlestringnullableA short, stable handle for this account among the workspace's connections to the same vendor. Null when it has none.
providerenumWho runs the connection's calls: native (FloConnector's own integration), composio, or first_party (FloConnector's own tools, with no vendor behind them).
nativecomposiofirst_partyvendor_tenant_idstringThe vendor's own id for the connected organisation or account. Not a FloConnector id.
statusenumactive: working. needs_reauth: the vendor no longer accepts the stored credential, and a person must reconnect to restore it. revoked: access was withdrawn.
activeneeds_reauthrevokedplatform_billing_statusenumFor a connector billed through the vendor's own marketplace, where that subscription stands: active, pending (installed, no subscription confirmed yet), cancelled, frozen (the vendor froze the account's billing) or unknown (the check failed). not_required for every other connector.
not_requiredactivependingcancelledfrozenunknownplatform_plan_handlestringnullableThe plan the account is on in the vendor's marketplace, as the vendor names it. Null when that does not apply.
connected_atstringWhen it was connected, as an ISO 8601 timestamp.
connected_bystringnullableThe user id of the person who connected it. Null when that is not known.
connected_by_emailstringnullableThat person's email. Null when that is not known.
new_toolsarray of stringNames of tools added to the catalog in the last 30 days, after this connection was made. They are on in the root selection automatically.
upgradeobjectnullableWhat a reconnect would unlock. Null when it would unlock nothing.
ShowHide 2 fields
missing_scopesarray of stringOAuth scopes the connector now asks for and this connection was never granted.
locked_toolsarray of stringTools that will not run until the connection is reconnected with those scopes.
400validation: a field failed validation; field names it.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
401unauthorized: no key, or an unknown, revoked or expired key.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
403insufficient_scope: the key lacks the route's scope, named in required. Or forbidden, or plan_limit when the plan does not include the API.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
404not_found: the thing is not in this workspace.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
429rate_limited: the key's per-minute budget is spent. Retry after Retry-After seconds.
Every error has the same envelope:
errorobjectShowHide 5 fields
codeenumWhat went wrong, as a stable word. Branch on this, never on message.
unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternalmessagestringThe same thing in a sentence, written for a person.
fieldstringoptionalvalidation only: the field that failed, as a path into the request.
requiredstringoptionalinsufficient_scope only: the scope the route needs.
detailsobjectoptionalExtra structure some errors carry, such as a refused record batch's per-record errors.
Errors lists every error code and what to do about it.