Skip to content
Connect an agent

Organisations

Take away someone's access to a board

Removes a member or a group from the board.

DELETE/orgs/{org}/boards/{board}/grants/{kind}/{id}

TL;DR

QuestionAnswer
What does it do?Take away someone's access to a board.
What does it take?org, board, kind, id in the path.
What does it return?Status 200 with a body of type BoardAccess.
What can go wrong?401 not signed in; 403 boards are not turned on for this organisation (boards.not_enabled), the caller may look but not change it (boards.forbidden), or the request came from an origin that may not make changes; 404 no such organisation, board or tab, or the board is not open to the caller: the cases look alike; 429 too many requests; 503 organisations or boards are not set up on this server. Every failure uses the one error envelope.

What it does

Removes a member or a group from the board. Their open live connections close and reconnect with what is left, which may be nothing. Audited as orgs.board.access.

Path parameters

FieldTypeRequiredDescription
orgstringyesThe organisation's id or its slug.
boardstringyesThe board's id: 22 letters and digits.
kind"user" | "group"yes
idstringyes

Responses

StatusMeaningBody
200Who may open the board.BoardAccess
401Not signed in.ErrorResponse
403Boards are not turned on for this organisation (boards.not_enabled), the caller may look but not change it (boards.forbidden), or the request came from an origin that may not make changes.ErrorResponse
404No such organisation, board or tab, or the board is not open to the caller: the cases look alike.ErrorResponse
429Too many requests.ErrorResponse
503Organisations or boards are not set up on this server.ErrorResponse

Response body

A 200 answer has the type BoardAccess.

FieldTypeRequiredDescription
access"org" | "restricted"yes
orgRole"view" | "edit"yes
grantsBoardGrant[]yes
grants[].kind"user" | "group"yes
grants[].idstringyes
grants[].namestringyesA member's email address, or a group's name.
grants[].role"view" | "edit" | "manage"yesview: look; edit: change the tabs; manage: also change who may open the board.
joinLinksBoardJoinLink[]yes
joinLinks[].idstringyes
joinLinks[].role"view" | "edit"yes
joinLinks[].createdAtintegeryes
joinLinks[].expiresAtintegeryes
canManagebooleanyes
guestLinkbooleanyesTrue when anyone signed in with the link may watch the board, as the board chose.
guests"ok" | "off" | "confidential"yesWhether guests may open the board now: ok, or off when the owner does not allow guests on boards, or confidential for a Confidential board. Only ok lets a guest in.

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools