API Specificationxmb.api.v1.MembershipService
Remove member
Removes someone from a server. Fails with FAILED_PRECONDITION if it would leave the server without an administrator.
Required scopes: xmb:admin
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
serverSlug?string
Slug of the server.
Length
1 <= length <= 128userId?string
Account identifier of the member to remove.
Length
1 <= length[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.MembershipService/RemoveMember" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}List my invitations POST
Returns the unanswered invitations addressed to the authenticated caller's email address. **Required scopes:** `xmb:user:read`
Resend invitation POST
Sends an invitation again with a new token and expiry. The previously issued link stops working. **Required scopes:** `xmb:admin`