Reject sharing request
POST/v1/sharing-requests/:requestId/reject
Declines the invitation and marks the request as rejected.
A QR-code request (one created without a username) is single-use, so declining spends it: the code stops working for every later scanner, exactly as accepting it would. The sharer who created the request may reject it themselves, which is how they take the invite back.
Request
Responses
- 200
- 400
- 404
- 410
- 500
Request rejected successfully
Bad request
Not found - the resource does not exist, or the feature is not enabled on this deployment. For username lookups the message is deliberately generic — it does not reveal whether an address is registered.
The sharing request has expired — 24 hours after creation for a named invitee, 7 days for a QR-code request
Internal server error