Skip to main content
Glama

delete_webhook

Remove a webhook from a Codemagic CI/CD application to stop receiving automated notifications or triggers from that integration.

Instructions

Delete a webhook from a Codemagic application.

Args: app_id: The Codemagic application ID. webhook_id: The webhook ID to delete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYes
webhook_idYes

Implementation Reference

  • The tool handler for 'delete_webhook' which calls the Codemagic client.
    @mcp.tool(annotations=ToolAnnotations(destructiveHint=True))
    async def delete_webhook(app_id: str, webhook_id: str) -> Any:
        """Delete a webhook from a Codemagic application.
    
        Args:
            app_id: The Codemagic application ID.
            webhook_id: The webhook ID to delete.
        """
        async with CodemagicClient() as client:
            return await client.delete_webhook(app_id, webhook_id)
  • The API client method that performs the actual HTTP DELETE request to remove a webhook.
    async def delete_webhook(self, app_id: str, webhook_id: str) -> Any:
        return await self._delete(f"/apps/{app_id}/webhooks/{webhook_id}")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AgiMaulana/CodemagicMcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server