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

# Delete a policy (decisions keep pointing at it)



## OpenAPI

````yaml https://api.antarah.dev/openapi.json delete /v1/organization/policies/{policy_id}
openapi: 3.1.0
info:
  title: Antara API
  version: 1.0.0
  description: OpenAI- and Anthropic-compatible inference plus organization management.
servers:
  - url: https://api.antarah.dev
security: []
paths:
  /v1/organization/policies/{policy_id}:
    delete:
      summary: Delete a policy (decisions keep pointing at it)
      parameters:
        - schema:
            type: string
            pattern: ^pol_[0-9a-f]{32}$
            example: pol_0193a6c2e7b47c3d9f1e2a4b5c6d7e8f
          required: true
          name: policy_id
          in: path
        - schema:
            type: integer
            minimum: 1
          required: true
          name: revision
          in: query
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyDeleted'
        '409':
          description: '`policy_revision_conflict`, `policy_state_conflict`'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        default:
          description: RFC 9457 problem details
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
      security:
        - adminKey: []
        - session: []
components:
  schemas:
    PolicyDeleted:
      type: object
      properties:
        id:
          type: string
          pattern: ^pol_[0-9a-f]{32}$
          example: pol_0193a6c2e7b47c3d9f1e2a4b5c6d7e8f
        object:
          type: string
          enum:
            - organization.policy.deleted
        deleted:
          type: boolean
          enum:
            - true
      required:
        - id
        - object
        - deleted
    Problem:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type:
            - string
            - 'null'
        instance:
          type: string
        code:
          type: string
        request_id:
          type: string
        param:
          type:
            - string
            - 'null'
        errors:
          type: array
          items:
            type: object
            properties:
              pointer:
                type: string
              detail:
                type: string
            required:
              - pointer
              - detail
      required:
        - type
        - title
        - status
        - detail
        - instance
        - code
        - request_id
        - param
  securitySchemes:
    adminKey:
      type: http
      scheme: bearer
      description: '`ak_admin_…` Admin API key'
    session:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Supabase access token + `Antara-Organization` (management) or
        `Antara-Project` (inference)

````

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