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

> ## Agent Instructions
> Integrating Pilot Status end to end? Follow https://docs.pilotstatus.com.br/guides/integrate-with-ai.md (pt-BR: https://docs.pilotstatus.com.br/pt-BR/guides/integrate-with-ai.md). No step requires contacting support: every credential is shown in the dashboard or in an API response, and a lost one is regenerated, not recovered.
> Webhook signing secret: shown ONCE in the Signing secret window right after creating the webhook on /webhooks, and in the `secret` field of the POST /v1/webhooks response (MCP: webhooks_create). Lost it: Edit Webhook → Generate a new secret, POST /v1/webhooks/{id}/rotate-secret, or webhooks_rotate_secret (the old one stops working at once). Verify `x-pilot-status-signature` = hex HMAC-SHA256 of the raw request body keyed with that secret.
> Meta verify token (number connected with the user's own Meta app credentials): Meta Number Created! window after connecting, then the number's card on Numbers (workspace Owner), or webhook.verifyToken in the POST /v1/numbers/meta response. It is not the webhook signing secret.
> REST auth: `x-api-key: ps_...` header, never Authorization: Bearer. MCP: https://mcp.pilotstatus.com.br/mcp (148 tools, OAuth 2.1 or x-api-key); Code Mode: https://mcp.pilotstatus.com.br/code. Destructive MCP tools return a preview and a confirm_token: show the preview and call again only after the user's explicit yes. Over OAuth, revealing or creating ps_ API keys is workspace Owner only.

# Eliminar por ID

> Id de medio → elimina un medio subido; id de grupo → sale del grupo o lo cierra. Eliminar tu propia WABA o tu id de número de teléfono está bloqueado (403).



## OpenAPI

````yaml openapi.meta.es.json DELETE /{id}
openapi: 3.1.0
info:
  title: Meta Cloud API Layer
  version: 1.0.0
  description: >-
    Pilot Status API Layer: Meta Cloud API (passthrough de WhatsApp Cloud API /
    Graph API). URL base `https://pilotstatus.com.br/api/layer/meta`. Llama a
    los nodos de Graph API exactamente como en `graph.facebook.com/<version>/`:
    Pilot cambia tu clave `ps_` por el token de sistema real de Meta del número.
    El prefijo de versión `vNN.N` es opcional (por defecto v22.0). La gestión de
    cuenta/negocio/autenticación y el (des)registro de números están bloqueados.
servers:
  - url: https://pilotstatus.com.br/api/layer/meta
security:
  - apiKey: []
tags:
  - name: Messages
  - name: Media
  - name: By id
  - name: Templates
  - name: Phone numbers
  - name: Business profile
  - name: Groups
  - name: Calls
paths:
  /{id}:
    delete:
      tags:
        - By id
      summary: Eliminar por id
      description: >-
        Id de medio → elimina un medio subido; id de grupo → sale del grupo o lo
        cierra. Eliminar tu propia WABA o tu id de número de teléfono está
        bloqueado (403).
      operationId: delete__id
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: >-
            Un id de nodo de Graph: su significado depende de la operación (ver
            la descripción).
      responses:
        '200':
          description: Respuesta de Meta Graph API.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Si la operación tuvo éxito.
              example:
                success: true
        default:
          description: Meta Graph API error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                        description: Human-readable error.
                      type:
                        type: string
                        description: e.g. `OAuthException`.
                      code:
                        type: integer
                      error_subcode:
                        type: integer
                      error_data:
                        type: object
                      fbtrace_id:
                        type: string
                description: Meta Graph API error envelope.
              example:
                error:
                  message: (#131030) Recipient phone number not in allowed list
                  type: OAuthException
                  code: 131030
                  fbtrace_id: A...
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Tu clave de API de Pilot Status (ps_...). También puedes enviar
        `Authorization: Bearer ps_...` o `?access_token=ps_...`.

````

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