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

# Deactivate API listing



## OpenAPI

````yaml /openapi/public-gateway.json delete /v1/apis/{slug}
openapi: 3.1.0
info:
  title: Apiosk Gateway Public API
  version: 1.1.0
  description: >-
    Sanitized public API reference for the Apiosk gateway. This document covers
    the integration contract for discovery, metadata, execution, payments, and
    community API publishing without exposing internal gateway implementation
    details.
servers:
  - url: https://gateway.apiosk.com
    description: Production gateway
security: []
tags:
  - name: Discovery
    description: Browse listing groups, APIs, and listing detail.
  - name: Execution
    description: Call APIs through public metadata and uniform execute routes.
  - name: Payments
    description: 'Public x402 boundary: 402 responses and payment proof header.'
  - name: Publishing
    description: Register, inspect, update, and deactivate community APIs.
  - name: Metrics
    description: Public wallet and traffic summary routes.
paths:
  /v1/apis/{slug}:
    delete:
      tags:
        - Publishing
      summary: Deactivate listing
      operationId: deleteApi
      parameters:
        - name: slug
          in: path
          required: true
          description: Gateway API slug.
          schema:
            type: string
          example: my-api
        - name: wallet
          in: query
          required: false
          description: Owner wallet used for signed deletion.
          schema:
            type: string
          example: '0xabc123'
      responses:
        '200':
          description: Delete result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteApiResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - WalletAddress: []
          WalletSignature: []
          WalletTimestamp: []
          WalletNonce: []
components:
  schemas:
    DeleteApiResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
  responses:
    Unauthorized:
      description: Missing or invalid signed wallet headers.
      content:
        application/json:
          schema:
            type: object
            additionalProperties: true
  securitySchemes:
    WalletAddress:
      type: apiKey
      in: header
      name: x-wallet-address
      description: Wallet address used for signed management calls.
    WalletSignature:
      type: apiKey
      in: header
      name: x-wallet-signature
      description: Signature over the canonical Apiosk auth message.
    WalletTimestamp:
      type: apiKey
      in: header
      name: x-wallet-timestamp
      description: Unix timestamp used in the signed auth message.
    WalletNonce:
      type: apiKey
      in: header
      name: x-wallet-nonce
      description: Replay-protected nonce used in the signed auth message.

````