Approve or reject a join request
members_review_join_requestApprove or reject a pending join request.
POST /api/v1/members/join-requests/{joinRequestId}/review
For multi-space accounts, call auth_verify, ask the user which space to use, and pass targetSpaceId. Manage members only when the user asks. Requires the user to be an owner or admin of the space; a write-level key can grant the member role, and admin needs a manage-level key (a 403 says which). Approve or reject only when the user explicitly decides.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"joinRequestId": "<joinRequestId>",
"decision": "<decision>"
},
"name": "members_review_join_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | ||
| joinRequestId | Yes | ||
| targetSpaceId | No | Busabase space id. Call auth_verify first and ask the user which space to use when more than one is returned. |