# TODO: Need GET route here as well
post:
  tags:
    - emails
  summary: Unsubscribe user from email type
  parameters:
    - name: token
      in: path
      required: true
      schema:
        type: string
      example: testToken
  responses:
    "200":
      description: "Successfully unsubscribed"
    "500":
      description: "Server-side error (likely token verification failure)"