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

# Unsubscribe From Event



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json delete /api/v1/event-subscriptions/
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/event-subscriptions/:
    delete:
      tags:
        - Event Subscriptions
      summary: Unsubscribe From Event
      operationId: unsubscribe_from_event_api_v1_event_subscriptions__delete
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventSubscriptionDeleteSchema'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: >-
                  Response Unsubscribe From Event Api V1 Event Subscriptions 
                  Delete
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    EventSubscriptionDeleteSchema:
      properties:
        event_type:
          $ref: '#/components/schemas/EventType'
          title: >-
            The type of event. Must be one of the values from the `EventType`
            enum.
      type: object
      required:
        - event_type
      title: EventSubscriptionDeleteSchema
      description: The schema used to delete an Event Subscription.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EventType:
      type: string
      enum:
        - local_seo
        - meta_ads
        - email_marketing
        - website_seo
        - website_analytics
      title: EventType
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````