Revoke a connect link
https://api.floconnector.com/v1/links/{id}/revoke- Scope
links.write- Rate limit
- the key's write budget, 60 a minute
The URL stops opening at once; connections the recipient already made through it stay. Revoking twice is harmless, and POST /v1/links/{id}/resend brings the link back with a new URL. A link whose every item is connected has nothing to revoke and answers 400.
Path parameters
The connect link's id.
Responses
200Success
linkobjectThe link after the change, with status now revoked.
ShowHide 10 fields
idstringThe connect link's id.
recipient_emailstringThe address the link was made for.
labelstringnullableA generated name that tells links apart in the dashboard, never derived from the recipient. Null when the link has none.
statusenumpending: live and waiting on at least one item. connected: every item is connected. expired: past expires_at. revoked: switched off by the sender. A resend brings an expired or revoked link back.
pendingconnectedexpiredrevokedexpires_atstringnullableWhen the URL stops working, ISO 8601 timestamp. Null for a link that never expires.
consumed_atstringnullableWhen the last item was connected, ISO 8601 timestamp. Null until every item is.
revoked_atstringnullableWhen the link was revoked, ISO 8601 timestamp. Null unless it is revoked now.
created_bystringnullableThe user id of the member who sent it. Null when an API key did.
created_atstringWhen the link was first sent, ISO 8601 timestamp.
itemsarray of objectOne per connector the link asks for, in the order they were added.
ShowHide 3 fields of each item
idstringThe item's id: the item_id of DELETE /v1/links/{id}/items/{item_id}.
vendorstringThe connector this item asks for, by vendor slug, e.g. gmail.
connected_atstringnullableWhen the recipient connected this one, ISO 8601 timestamp. Null while they have not.
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.