Skip to content
Connect an agent

Organisations

Approve or decline a request for access

Approving a member request gives them the role chosen on the board (view unless said); for a person outside the organisation the portal sends the invitation.

POST/orgs/{org}/board-requests/{id}

TL;DR

QuestionAnswer
What does it do?Approve or decline a request for access.
What does it take?A JSON body of type DecideBoardAccessRequestBody.
What does it return?Status 204 with no body.
What can go wrong?400 the body is not valid; 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

Approving a member request gives them the role chosen on the board (view unless said); for a person outside the organisation the portal sends the invitation. Declining records it. Audited as orgs.board.access_request.

Path parameters

FieldTypeRequiredDescription
orgstringyesThe organisation's id or its slug.
idstringyes

Request body

The body has the type DecideBoardAccessRequestBody.

FieldTypeRequiredDescription
decision"approve" | "decline"yes
role"view" | "edit"no

Responses

StatusMeaningBody
204Answered.none
400The body is not valid.ErrorResponse
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

See also

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