Skip to Content
Xeonr Developer Docs

Decline invitation

POST
/xmb.api.v1.MembershipService/DeclineInvitation

Declines an invitation. It stops appearing on the caller's server picker and its link stops working.

Required scopes: xmb:user:write

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

ref*

Which invitation.

[key: string]?never

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]"  }'
{}