List the account's members

GEThttps://api.floconnector.com/v1/members
Scope
members.read
Rate limit
the key's read budget, 120 a minute

Members belong to the account that owns the key's workspace, so the list covers every workspace on it. Each person appears once, with their role and the workspaces they reach in grants; a grant with a null workspace_id covers the whole account. The user_id values are what PATCH /v1/members/{id} and DELETE /v1/members/{id} take.

Takes no parameters and no body.

Responses

200Success
membersarray of object

One entry per person on the account, longest-standing member first.

ShowHide 10 fields of each item
user_idstring

The person's user id: the {id} of PATCH /v1/members/{id} and DELETE /v1/members/{id}.

emailstring

Their sign-in email.

namestringnullable

Their display name. Null until they set one.

is_primaryboolean

True for the primary owner, the person who created the account. Their role cannot be changed and they cannot be removed.

roleenum

Their position on the role ladder: owner, admin or member. A named role stands on one of the three, and the owner rules read this.

owneradminmember
role_idstring

The id of the named role they hold.

role_namestring

That role's name.

grantsarray of object

Every scope the person reaches, oldest first: the whole account or single workspaces. Never empty.

ShowHide 5 fields of each item
membership_idstring

The grant's id.

workspace_idstringnullable

The workspace this grant reaches. Null means the whole account, including workspaces created later.

workspace_namestringnullable

That workspace's name. Null for a whole-account grant.

connection_countinteger

Connections this person authorized within the grant's reach. Removing the grant deletes them.

created_atstring

When the grant was made, ISO 8601 timestamp.

connections_by_workspacemap of integer

How many connections this person authorized in each workspace of the account, keyed by workspace id. Workspaces with none are left out.

created_atstring

When they joined the account (their earliest grant), ISO 8601 timestamp.

400validation: a field failed validation; field names it.

Every error has the same envelope:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra 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:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra 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:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra 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:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra 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:

errorobject
ShowHide 5 fields
codeenum

What went wrong, as a stable word. Branch on this, never on message.

unauthorizedforbiddeninsufficient_scopeplan_limitnot_foundvalidationconflictread_onlyrate_limitedcsrfunavailableinternal
messagestring

The same thing in a sentence, written for a person.

fieldstringoptional

validation only: the field that failed, as a path into the request.

requiredstringoptional

insufficient_scope only: the scope the route needs.

detailsobjectoptional

Extra 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.