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

# Delete an opportunity

> Archives the opportunity, as the app's own delete does: it leaves every list, a GET on it is a 404, and a CRM sync does not bring it back. It is not deleted in your CRM, and its `crm_opportunity_id` stays taken (a create or upsert with it is a 409). Deleting one already deleted returns the same answer and changes nothing.



## OpenAPI

````yaml /api/statisfy-api.openapi.json delete /v1/objects/opportunity/records/{opportunity_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/objects/opportunity/records/{opportunity_id}:
    delete:
      tags:
        - opportunities
      summary: Delete an opportunity
      description: >-
        Archives the opportunity, as the app's own delete does: it leaves every
        list, a GET on it is a 404, and a CRM sync does not bring it back. It is
        not deleted in your CRM, and its `crm_opportunity_id` stays taken (a
        create or upsert with it is a 409). Deleting one already deleted returns
        the same answer and changes nothing.
      operationId: opportunities_delete
      parameters:
        - in: path
          name: opportunity_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedOpportunity'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    DeletedOpportunity:
      properties:
        deleted:
          const: true
          default: true
          title: Deleted
          type: boolean
        id:
          title: Id
          type: string
      required:
        - id
      title: DeletedOpportunity
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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