---
updatedAt: 2026-05-21T02:28:41.000Z
agentTools:
  projectIndex: https://api.basiq.io/llms.txt
---

# Delete a webhook

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "description": "Webhooks",
    "version": "2.4.1",
    "title": "Webhooks",
    "termsOfService": "https://docs.basiq.io/en/collections/440849-privacy-terms-and-common-questions",
    "license": {
      "name": "Commercial",
      "url": "https://basiq.io"
    }
  },
  "servers": [
    {
      "description": "Basiq Webhooks",
      "url": "https://au-api.basiq.io"
    }
  ],
  "tags": [
    {
      "name": "Webhooks",
      "description": "Basiq Webhooks"
    }
  ],
  "paths": {
    "/notifications/webhooks/{webhookId}": {
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Delete a webhook",
        "operationId": "deleteWebhook",
        "parameters": [
          {
            "name": "webhookId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "in": "path",
            "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
          }
        ],
        "responses": {
          "204": {
            "description": "Deletion successful (empty body)"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Always \"list\"."
                    },
                    "correlationId": {
                      "type": "string",
                      "description": "Unique identifier for this particular occurrence of the problem."
                    },
                    "data": {
                      "type": "array",
                      "description": "Error data.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "description": "Type of the response, always \"error\"."
                          },
                          "code": {
                            "type": "string",
                            "description": "Application-specific error code, expressed as a string value."
                          },
                          "title": {
                            "type": "string",
                            "description": "Title of the error."
                          },
                          "detail": {
                            "type": "string",
                            "description": "Human-readable explanation specific to this occurrence of the problem."
                          },
                          "source": {
                            "type": "object",
                            "description": "An object containing references to the source of the error.",
                            "properties": {
                              "parameter": {
                                "type": "string",
                                "description": "String indicating which URI query parameter caused the error."
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "x-readme-ref-name": "Error"
                },
                "examples": {
                  "WebhookID not valid": {
                    "value": {
                      "type": "list",
                      "correlationId": "9b27dbd7-d397-428a-9eff-5048d2bed5eb",
                      "data": [
                        {
                          "type": "error",
                          "code": "path-parameter-not-valid",
                          "title": "Parameter value is not valid",
                          "detail": "Webhook ID value is not valid",
                          "source": {
                            "parameter": "webhookId"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Always \"list\"."
                    },
                    "correlationId": {
                      "type": "string",
                      "description": "Unique identifier for this particular occurrence of the problem."
                    },
                    "data": {
                      "type": "array",
                      "description": "Error data.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "description": "Type of the response, always \"error\"."
                          },
                          "code": {
                            "type": "string",
                            "description": "Application-specific error code, expressed as a string value."
                          },
                          "title": {
                            "type": "string",
                            "description": "Title of the error."
                          },
                          "detail": {
                            "type": "string",
                            "description": "Human-readable explanation specific to this occurrence of the problem."
                          },
                          "source": {
                            "type": "object",
                            "description": "An object containing references to the source of the error.",
                            "properties": {
                              "parameter": {
                                "type": "string",
                                "description": "String indicating which URI query parameter caused the error."
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "x-readme-ref-name": "Error"
                },
                "examples": {
                  "Unauthorized": {
                    "value": {
                      "type": "list",
                      "correlationId": "9b27dbd7-d397-428a-9eff-5048d2bed5eb",
                      "data": [
                        {
                          "type": "error",
                          "code": "unauthorized-access",
                          "title": "Unauthorized Access",
                          "detail": "You are not authorized to access this resource"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Always \"list\"."
                    },
                    "correlationId": {
                      "type": "string",
                      "description": "Unique identifier for this particular occurrence of the problem."
                    },
                    "data": {
                      "type": "array",
                      "description": "Error data.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "description": "Type of the response, always \"error\"."
                          },
                          "code": {
                            "type": "string",
                            "description": "Application-specific error code, expressed as a string value."
                          },
                          "title": {
                            "type": "string",
                            "description": "Title of the error."
                          },
                          "detail": {
                            "type": "string",
                            "description": "Human-readable explanation specific to this occurrence of the problem."
                          },
                          "source": {
                            "type": "object",
                            "description": "An object containing references to the source of the error.",
                            "properties": {
                              "parameter": {
                                "type": "string",
                                "description": "String indicating which URI query parameter caused the error."
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "x-readme-ref-name": "Error"
                },
                "examples": {
                  "Forbidden": {
                    "value": {
                      "type": "list",
                      "correlationId": "9b27dbd7-d397-428a-9eff-5048d2bed5eb",
                      "data": [
                        {
                          "type": "error",
                          "code": "forbidden-access",
                          "title": "Forbidden Access",
                          "detail": "Access to this resource is forbidden."
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Always \"list\"."
                    },
                    "correlationId": {
                      "type": "string",
                      "description": "Unique identifier for this particular occurrence of the problem."
                    },
                    "data": {
                      "type": "array",
                      "description": "Error data.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "description": "Type of the response, always \"error\"."
                          },
                          "code": {
                            "type": "string",
                            "description": "Application-specific error code, expressed as a string value."
                          },
                          "title": {
                            "type": "string",
                            "description": "Title of the error."
                          },
                          "detail": {
                            "type": "string",
                            "description": "Human-readable explanation specific to this occurrence of the problem."
                          },
                          "source": {
                            "type": "object",
                            "description": "An object containing references to the source of the error.",
                            "properties": {
                              "parameter": {
                                "type": "string",
                                "description": "String indicating which URI query parameter caused the error."
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "x-readme-ref-name": "Error"
                },
                "examples": {
                  "Error": {
                    "value": {
                      "type": "list",
                      "correlationId": "9b27dbd7-d397-428a-9eff-5048d2bed5eb",
                      "data": [
                        {
                          "type": "error",
                          "code": "resource-not-found",
                          "title": "Requested resource is not found",
                          "detail": "Webhook with provided id doesn't exist."
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too many requests",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Always \"list\"."
                    },
                    "correlationId": {
                      "type": "string",
                      "description": "Unique identifier for this particular occurrence of the problem."
                    },
                    "data": {
                      "type": "array",
                      "description": "Error data.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "description": "Type of the response, always \"error\"."
                          },
                          "code": {
                            "type": "string",
                            "description": "Application-specific error code, expressed as a string value."
                          },
                          "title": {
                            "type": "string",
                            "description": "Title of the error."
                          },
                          "detail": {
                            "type": "string",
                            "description": "Human-readable explanation specific to this occurrence of the problem."
                          },
                          "source": {
                            "type": "object",
                            "description": "An object containing references to the source of the error.",
                            "properties": {
                              "parameter": {
                                "type": "string",
                                "description": "String indicating which URI query parameter caused the error."
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "x-readme-ref-name": "Error"
                },
                "examples": {
                  "Too many requests": {
                    "value": {
                      "type": "list",
                      "correlationId": "9b27dbd7-d397-428a-9eff-5048d2bed5eb",
                      "data": [
                        {
                          "type": "error",
                          "code": "too-many-requests",
                          "title": "Too many requests",
                          "detail": "You have exceeded the rate limit for this API."
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "Service unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Always \"list\"."
                    },
                    "correlationId": {
                      "type": "string",
                      "description": "Unique identifier for this particular occurrence of the problem."
                    },
                    "data": {
                      "type": "array",
                      "description": "Error data.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "description": "Type of the response, always \"error\"."
                          },
                          "code": {
                            "type": "string",
                            "description": "Application-specific error code, expressed as a string value."
                          },
                          "title": {
                            "type": "string",
                            "description": "Title of the error."
                          },
                          "detail": {
                            "type": "string",
                            "description": "Human-readable explanation specific to this occurrence of the problem."
                          },
                          "source": {
                            "type": "object",
                            "description": "An object containing references to the source of the error.",
                            "properties": {
                              "parameter": {
                                "type": "string",
                                "description": "String indicating which URI query parameter caused the error."
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "x-readme-ref-name": "Error"
                },
                "examples": {
                  "Service unavailable": {
                    "value": {
                      "type": "list",
                      "correlationId": "9b27dbd7-d397-428a-9eff-5048d2bed5eb",
                      "data": [
                        {
                          "type": "error",
                          "code": "service-unavailable",
                          "title": "Service Unavailable",
                          "detail": "Service Unavailable. Try again later."
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "services_token": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "services_token": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true,
    "samples-languages": [
      "curl",
      "node",
      "ruby",
      "javascript",
      "python"
    ]
  }
}
```