POST
/admin.inviteRequests.approveApprove a workspace invite request
Approves a workspace invite request. Supply invite_request_id to identify the request, and use team_id when you need to specify the workspace where it was made.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringrequired
Authentication token with the `admin.invites:write` scope.
Optional form data identifying the invite request and workspace. invite_request_id is required.
team_idstringoptional
ID for the workspace where the invite request was made.
invite_request_idstringrequired
ID of the request to invite.
200Returns an object containing `ok: true` when the workspace invite request is approved.
okbooleanrequired
defaultReturns an object containing `ok: false` when the invite request cannot be approved.
okbooleanrequired
Error handling
invite_request_id is required and must identify the invite request to approve. Use a token with the admin.invites:write scope; provide team_id when identifying the workspace explicitly.