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

# Unpin Artist

> Unpin an artist. This updates the caller's pinned preference for the artist.



## OpenAPI

````yaml api-reference/openapi/releases.json DELETE /api/artists/{id}/pin
openapi: 3.1.0
info:
  title: Recoup API - Releases
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.recoupable.dev
security: []
paths:
  /api/artists/{id}/pin:
    delete:
      description: >-
        Unpin an artist. This updates the caller's pinned preference for the
        artist.
      parameters:
        - name: id
          in: path
          description: Artist ID.
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Artist unpinned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PinArtistResponse'
        '400':
          description: Bad request - invalid artist ID path parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PinArtistErrorResponse'
        '401':
          description: Unauthorized - missing or invalid authentication
        '403':
          description: Forbidden - the authenticated account cannot access this artist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PinArtistErrorResponse'
        '404':
          description: Artist not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PinArtistErrorResponse'
components:
  schemas:
    PinArtistResponse:
      type: object
      required:
        - success
        - artistId
        - pinned
      properties:
        success:
          type: boolean
          description: Whether the request succeeded
        artistId:
          type: string
          format: uuid
          description: The artist ID
        pinned:
          type: boolean
          description: The current pinned state
    PinArtistErrorResponse:
      type: object
      required:
        - status
        - error
      properties:
        status:
          type: string
          enum:
            - error
          description: Status of the request
        missing_fields:
          type: array
          items:
            type: string
          description: List of missing or invalid field names
        error:
          type: string
          description: Error message describing what went wrong

````