Skip to Content

DeclineInvitation

POST
/auth/v1/invitations/decline

Authorization

headerX-API-Key<token>

API key for protected endpoints, supplied in the X-API-Key header.

Request Body

required
application/json
{
  "$ref": "#/components/schemas/auth.v1.DeclineInvitationRequest",
  "$ref-value": {
    "type": "object",
    "not": {
      "required": [
        "token",
        "invitation_id"
      ]
    },
    "properties": {
      "token": {
        "type": "string",
        "title": "token"
      },
      "invitation_id": {
        "type": "string",
        "title": "invitation_id"
      }
    },
    "title": "DeclineInvitationRequest",
    "additionalProperties": false,
    "description": "At most one of `token`, `invitation_id` may be set."
  }
}

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/google.protobuf.Empty",
  "$ref-value": {
    "type": "object",
    "description": "An empty JSON object."
  }
}
default
curl -X POST 'https://api.rixl.com/auth/v1/invitations/decline'

Success

application/json

{
  "$ref": "#/components/schemas/google.protobuf.Empty",
  "$ref-value": {
    "type": "object",
    "description": "An empty JSON object."
  }
}