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

# Delete Superagent webhook

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Deletes a Superagent's webhook. Base44 stops sending it events right away.

<Note>This endpoint accepts a personal API key or personal access token belonging to an editor of the agent. A read-only key is refused, and workspace API keys are not accepted.</Note>



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json delete /api/agents/{agent_id}/webhooks/{webhook_id}
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/agents/{agent_id}/webhooks/{webhook_id}:
    delete:
      summary: Delete Superagent webhook
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Deletes a Superagent's webhook. Base44 stops sending it events right
        away.


        <Note>This endpoint accepts a personal API key or personal access token
        belonging to an editor of the agent. A read-only key is refused, and
        workspace API keys are not accepted.</Note>
      operationId: delete_webhook_api_agents__agent_id__webhooks__webhook_id__delete
      parameters:
        - name: webhook_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              ID of the webhook to delete. Get it from [List Superagent
              webhooks](/api-reference/list-superagent-webhooks).
            title: Webhook Id
          description: >-
            ID of the webhook to delete. Get it from [List Superagent
            webhooks](/api-reference/list-superagent-webhooks).
          example: 68a1d0f4f0b9d3002e7a5c52
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              ID of the Superagent. It's the agent's app ID, shown in the
              agent's developer settings.
            title: Agent Id
          description: >-
            ID of the Superagent. It's the agent's app ID, shown in the agent's
            developer settings.
          example: 6820f3a4e7b91d003c45a1f2
      responses:
        '204':
          description: The webhook is deleted.
        '400':
          description: '`agent_id` belongs to an app that isn''t a Superagent.'
        '401':
          description: Missing or invalid credentials.
        '402':
          description: Agent webhooks need the Builder plan or higher.
        '403':
          description: >-
            You aren't an editor of this agent, you're a viewer in its
            workspace, your API key is read-only, or you used a workspace API
            key.
        '404':
          description: Agent or webhook not found.
        '429':
          description: Rate limit exceeded (100 requests per minute).
components:
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: 'Personal access token, sent as `Authorization: Bearer <token>`.'

````

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