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

# Unsubscribe from webhook

> Unsubscribes from one or more event types for the provided application ID



## OpenAPI

````yaml /openapi/integration-openapi.json delete /api/v1/webhooks/subscriptions
openapi: 3.0.0
info:
  title: Monument Integration API
  description: Monument Integration API
  version: '1.0'
  contact: {}
servers:
  - url: https://public-api.prd.monument.io
    description: Production
  - url: https://public-api.stg.monument.io
    description: Staging
security: []
tags:
  - name: Portfolios
    description: List portfolios accessible to the API key
  - name: Facilities
    description: Facility retrieval and coverage-option configuration
  - name: Units
    description: Unit listing and MORA execution
  - name: Unit Groups
    description: Unit group listing, rate management, and unit assignment
  - name: Rental Records
    description: Rental record listing, coverage, fees, autopay, and payment links
  - name: Ledger Entries
    description: Ledger entry retrieval at facility and rental-record level
  - name: Leads
    description: Lead listing and lease sending
  - name: Tasks
    description: Task creation and listing for integrations
  - name: Tenants
    description: Tenant listing and person updates
  - name: People
    description: Person listing
  - name: Notes
    description: Note listing and creation for tenants and leads
  - name: Auctions
    description: Auction listing
  - name: Coverage
    description: Portfolio-level coverage CRUD and coverage history
  - name: Summary
    description: Portfolio-level aggregate summaries (insurance enrollment/occupancy)
  - name: Promotions
    description: Promotion listing
  - name: ECRI
    description: Effective Current Rent Increase scheduling
  - name: Item Types
    description: Item type listing per facility
  - name: Delinquencies
    description: Delinquency listing per facility
  - name: Physical Locks
    description: Physical lock assignment and unassignment
  - name: Lead Source Options
    description: Lead source option listing
  - name: Webhooks
    description: Webhook subscription management
  - name: Payments
    description: Payment profile creation
paths:
  /api/v1/webhooks/subscriptions:
    delete:
      tags:
        - Webhooks
      summary: Unsubscribe from webhook
      description: >-
        Unsubscribes from one or more event types for the provided application
        ID
      operationId: PrivateWebhooksController_deleteSubscription
      parameters:
        - in: path
          required: true
          name: portfolio
          schema:
            example: abc_selfstorage
        - in: header
          required: true
          name: x-api-key
          schema:
            example: monument-2230012-2312321
            description: >-
              Api key required to authenticate your request. Please reach out to
              monument for a key.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteSubscriptionDto'
      responses:
        '200':
          description: Successfully unsubscribed from webhook
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteSubscriptionResponseDto'
        '400':
          description: Bad request - invalid body or event types
        '404':
          description: Application ID, endpoint, or registry item not found
        '502':
          description: Service error
components:
  schemas:
    DeleteSubscriptionDto:
      type: object
      properties:
        portfolio:
          type: string
          example: ''
          description: Database prefix (portfolio)
        eventTypes:
          example:
            - moved-in
            - moved-out
          description: Array of event types to unsubscribe from
          type: array
          items:
            type: string
      required:
        - portfolio
        - eventTypes
    DeleteSubscriptionResponseDto:
      type: object
      properties:
        applicationId:
          type: string
          example: app_1234567890
          description: Svix application ID
        endpointId:
          type: string
          example: ep_1234567890
          description: Svix endpoint ID
        url:
          type: string
          example: https://vendor.example.com/webhooks/monument
          description: Webhook URL
        unsubscribedEventTypes:
          example:
            - moved-out
          description: Unsubscribed event types (only when partial unsubscribe)
          type: array
          items:
            type: string
        remainingEventTypes:
          example:
            - moved-in
          description: Remaining event types (only when partial unsubscribe)
          type: array
          items:
            type: string
      required:
        - applicationId
        - endpointId
        - url

````