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

# Remove Photo

> Removes a photo from an artist's gallery. Only artists can remove their own photos.



## OpenAPI

````yaml DELETE /gallery/remove-photo/{photoId}
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /gallery/remove-photo/{photoId}:
    delete:
      summary: Remove Gallery Photo
      description: >-
        Removes a photo from an artist's gallery. Only artists can remove their
        own photos.
      parameters:
        - name: photoId
          in: path
          required: true
          schema:
            type: string
          description: ID of the photo to remove
      responses:
        '200':
          description: Photo removed successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                properties:
                  success:
                    type: boolean
                    description: Whether the photo was successfully removed
        '400':
          description: Bad request - invalid photo ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden - user does not own the photo
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: Method not allowed - only DELETE is supported
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string

````