> ## Documentation Index
> Fetch the complete documentation index at: https://docs.member.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Withdraw Event Rsvp

> Withdraw -- set the caller's RSVP to 'not_going'. Emits
hub_event.rsvp_cancelled (idempotent: a repeat withdraw is a no-op).



## OpenAPI

````yaml /openapi/mio-openapi.json delete /api/v1/hubs/{hub_id}/events/{event_id}/rsvp
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/hubs/{hub_id}/events/{event_id}/rsvp:
    delete:
      tags:
        - hub-events
      summary: Withdraw Event Rsvp
      description: |-
        Withdraw -- set the caller's RSVP to 'not_going'. Emits
        hub_event.rsvp_cancelled (idempotent: a repeat withdraw is a no-op).
      operationId: >-
        hub_events.delete_hub_events_delete_hubs_by_hub_id_events_by_event_id_rsvp
      parameters:
        - in: path
          name: hub_id
          required: true
          schema:
            title: Hub Id
            type: string
        - in: path
          name: event_id
          required: true
          schema:
            title: Event Id
            type: string
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/EventRsvpResponse'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    EventRsvpResponse:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/EventRsvpResource'
      required:
        - data
      title: EventRsvpResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    EventRsvpResource:
      additionalProperties: false
      properties:
        attributes:
          $ref: '#/components/schemas/EventRsvpAttributes'
        id:
          title: Id
          type: string
        type:
          const: event_rsvps
          default: event_rsvps
          title: Type
          type: string
      required:
        - id
        - attributes
      title: EventRsvpResource
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    EventRsvpAttributes:
      additionalProperties: false
      properties:
        contact_id:
          title: Contact Id
          type: string
        created_at:
          format: date-time
          title: Created At
          type: string
        event_id:
          title: Event Id
          type: string
        status:
          enum:
            - going
            - not_going
          title: Status
          type: string
        team_id:
          title: Team Id
          type: string
        updated_at:
          format: date-time
          title: Updated At
          type: string
      required:
        - event_id
        - contact_id
        - team_id
        - status
        - created_at
        - updated_at
      title: EventRsvpAttributes
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````