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

# Delete a temporary image

> Delete a temporary image before it expires.



## OpenAPI

````yaml /api-reference/openapi.json delete /api/v1/dev/images/{imageId}
openapi: 3.0.0
info:
  title: Autype Developer API
  description: >-
    Autype Developer API for programmatic document generation.


    ## Authentication

    All endpoints require an API key. Include it in the `X-API-Key` header or as
    a Bearer token.


    ## Rate Limiting

    API requests are rate-limited to 100 requests per minute per API key.


    ## Token Billing

    Rendering operations consume tokens from your organization's balance.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.autype.com
    description: Production
security: []
tags:
  - name: Temporary Images
    description: Upload and manage temporary images for document rendering
  - name: Render
    description: Render documents to PDF, DOCX, or ODT
  - name: Bulk Render
    description: Bulk document generation with variable substitution
  - name: Documents
    description: Document variable inspection
  - name: Projects
    description: List organization projects
paths:
  /api/v1/dev/images/{imageId}:
    delete:
      tags:
        - developer-api
      summary: Delete a temporary image
      description: Delete a temporary image before it expires.
      operationId: ImagesController_deleteTempImage_v1
      parameters:
        - name: imageId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Image deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteTempImageResponseDto'
        '401':
          description: Invalid or missing API key
        '403':
          description: Image does not belong to this organization
        '404':
          description: Image not found
      security:
        - api-key: []
components:
  schemas:
    DeleteTempImageResponseDto:
      type: object
      properties:
        success:
          type: boolean
          description: Whether the deletion was successful
          example: true
        message:
          type: string
          description: Message describing the result
          example: Temporary image deleted successfully
      required:
        - success
        - message
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key (starts with ak_...)

````