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

# Delete a wishlist

> Deletes the wishlist and all its wishes. Its share link stops working.



## OpenAPI

````yaml /api-reference/openapi.json delete /api/v1/wishlists/{wishlistId}
openapi: 3.0.0
info:
  title: Onio API
  description: Read and change your Onio wishlists and wishes from your own tools.
  version: 1.2.0
  contact: {}
servers:
  - url: https://web.onio.app
security: []
tags: []
paths:
  /api/v1/wishlists/{wishlistId}:
    delete:
      tags:
        - Wishlists
      summary: Delete a wishlist
      description: Deletes the wishlist and all its wishes. Its share link stops working.
      operationId: deleteWishlist
      parameters:
        - name: wishlistId
          required: true
          in: path
          description: The `id` of a wishlist you own.
          schema:
            format: uuid
            type: string
      responses:
        '204':
          description: The wishlist is deleted
        '400':
          description: An ID is not a UUID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 400
                message: Validation failed (uuid is expected)
                error: Bad Request
        '401':
          description: The access token is missing, invalid or revoked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 401
                message: Missing or invalid access token
                error: Unauthorized
        '403':
          description: The access token lacks the `wishlists:delete` scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 403
                message: Access token lacks the required scope
                error: Forbidden
        '404':
          description: No wishlist with this ID that you own
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 404
                message: Wishlist not found
                error: Not Found
        '409':
          description: Your wishlists changed during the request. Retry it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 409
                message: Your wishlists changed during the request. Try again.
                error: Conflict
        '429':
          description: Rate limit exceeded; retry after `Retry-After` seconds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 429
                message: 'ThrottlerException: Too Many Requests'
      security:
        - accessToken: []
components:
  schemas:
    Error:
      type: object
      properties:
        statusCode:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        message:
          type: string
        error:
          type: string
      required:
        - statusCode
        - message
  securitySchemes:
    accessToken:
      type: http
      scheme: bearer
      description: >-
        A personal access token from your Onio profile. It starts with
        `onio_pat_`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.