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

# Delete the message draft

> Deletes the draft of the member who created the API key. Succeeds when there is no draft.



## OpenAPI

````yaml /openapi/partner.yaml delete /conversations/{conversationId}/draft
openapi: 3.1.0
info:
  title: Passionfroot Partner API
  version: 1.0.0
  description: >
    Access a brand workspace's creators, collaborations, placements, proposals,
    and conversations.

    Every operation is restricted to the organization that owns the API key.
servers:
  - url: https://workspace.passionfroot.me/api/v1
security:
  - bearerAuth: []
tags:
  - name: Placements
  - name: Creators
  - name: Collaborations
  - name: Conversations
  - name: Proposals
paths:
  /conversations/{conversationId}/draft:
    delete:
      tags:
        - Conversations
      summary: Delete the message draft
      description: >-
        Deletes the draft of the member who created the API key. Succeeds when
        there is no draft.
      operationId: deletePartnerConversationDraft
      parameters:
        - $ref: '#/components/parameters/ConversationId'
      responses:
        '204':
          description: Draft deleted, or there was none.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  parameters:
    ConversationId:
      name: conversationId
      in: path
      required: true
      schema:
        type: string
  responses:
    Unauthorized:
      $ref: '#/components/responses/Error401'
    Forbidden:
      $ref: '#/components/responses/Error403'
    NotFound:
      $ref: '#/components/responses/Error404'
    UnprocessableEntity:
      $ref: '#/components/responses/Error422'
    TooManyRequests:
      description: Rate limit exceeded.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: RATE_LIMITED
              message: >-
                This API key is over its rate limit. Wait for Retry-After before
                sending more.
              details:
                limit: 10
                windowSeconds: 1
    ServerError:
      $ref: '#/components/responses/Error500'
    ServiceUnavailable:
      description: >-
        Key verification is temporarily unavailable. Retry after the indicated
        delay; the key itself is not at fault.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: SERVICE_UNAVAILABLE
              message: API key verification is temporarily unavailable, retry shortly
    Error401:
      description: Missing, invalid, expired, or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: UNAUTHENTICATED
              message: Invalid or expired API key
    Error403:
      description: >-
        The key lacks the required scope (`MISSING_SCOPE`), or the
        organization's plan does not include API access (`PLAN_RESTRICTED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: MISSING_SCOPE
              message: 'API key missing required scope: write:conversations'
    Error404:
      description: Resource not found or not accessible to this organization.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: NOT_FOUND
              message: Conversation not found
    Error422:
      description: The request is well formed but cannot be processed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error500:
      description: >-
        Unexpected server failure. Re-read state before retrying a write, and
        quote the `X-PF-Trace-Id` response header to support.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  headers:
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 1
  schemas:
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      description: >-
        The body of every error response. Branch on `code`; messages can be
        reworded.
      properties:
        error:
          type: object
          additionalProperties: false
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: >-
                Stable, machine-readable reason. New codes may be added;
                existing ones never change meaning.
              enum:
                - INVALID_REQUEST
                - INVALID_QUERY_PARAMETER
                - INVALID_BODY
                - INVALID_ID
                - INVALID_CURSOR
                - INVALID_IDEMPOTENCY_KEY
                - UNAUTHENTICATED
                - MISSING_SCOPE
                - PLAN_RESTRICTED
                - NOT_FOUND
                - METHOD_NOT_ALLOWED
                - CONFLICT
                - IDEMPOTENCY_IN_PROGRESS
                - UNPROCESSABLE
                - CREATOR_NOT_ON_PASSIONFROOT
                - IDEMPOTENCY_KEY_REUSED
                - RATE_LIMITED
                - INTERNAL_ERROR
                - SERVICE_UNAVAILABLE
            message:
              type: string
              description: >-
                What went wrong and what to do next, written for a developer or
                agent.
            details:
              description: >-
                Present only when there is something structured to act on, such
                as one entry per invalid field (`{ field, message }`).
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Passionfroot API key
      description: >-
        Create an API key from Settings → AI agents & API in your Partner
        workspace.

````

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