Decline invitation
Declines an invitation. It stops appearing on the caller's server picker and its link stops working.
Required scopes: xmb:user:write
Authorization
BearerAuth An access token issued by the xeonr identity provider.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Which invitation.
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.MembershipService/DeclineInvitation" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{ "ref": "map[token:inv_8Hq2xYv3Lm9TkR4pW7nZ]" }'{}Accept invitation POST
Joins the server the invitation names, at the role it carries. Accepting by token does not require the caller's email to match the invited address; accepting by identifier does, because that is how it was found. **Required scopes:** `xmb:user:write`
Get invitation POST
Describes the invitation a token refers to, so it can be confirmed before it is accepted. Requires a session; the token alone reveals nothing. **Required scopes:** `xmb:user:read`