Delete a webhook endpoint

DELETE /r/wh/1/webhook/{endpointId}

Delete a webhook endpoint

Path parameters

  • endpointId string Required

Responses

  • 200

    OK

  • 400 */*

    Bad Request

    Hide response attributes Show response attributes object
    • status string

      Value is 400.

    • timestamp string(date-time)
    • message string
    • apiSubExceptions array[object]
      Hide apiSubExceptions attributes Show apiSubExceptions attributes object
      • field string
      • rejectedValue string
      • message string
  • 403 */*

    Forbidden

    Hide response attributes Show response attributes object
    • status string

      Value is 403.

    • timestamp string(date-time)
    • message string
    • apiSubExceptions array[object]
      Hide apiSubExceptions attributes Show apiSubExceptions attributes object
      • field string
      • rejectedValue string
      • message string
  • 404 */*

    Not Found

    Hide response attributes Show response attributes object
    • status string

      Value is 404.

    • timestamp string(date-time)
    • message string
    • apiSubExceptions array[object]
      Hide apiSubExceptions attributes Show apiSubExceptions attributes object
      • field string
      • rejectedValue string
      • message string
DELETE /r/wh/1/webhook/{endpointId}
curl \
 --request DELETE 'https://api.trial.lsk.lightspeed.app/r/wh/1/webhook/{endpointId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (400)
{
  "status": "400",
  "timestamp": "2025-05-04T09:42:00Z",
  "message": "string",
  "apiSubExceptions": [
    {
      "field": "string",
      "rejectedValue": "string",
      "message": "string"
    }
  ]
}
Response examples (403)
{
  "status": "403",
  "timestamp": "2025-05-04T09:42:00Z",
  "message": "string",
  "apiSubExceptions": [
    {
      "field": "string",
      "rejectedValue": "string",
      "message": "string"
    }
  ]
}
Response examples (404)
{
  "status": "404",
  "timestamp": "2025-05-04T09:42:00Z",
  "message": "string",
  "apiSubExceptions": [
    {
      "field": "string",
      "rejectedValue": "string",
      "message": "string"
    }
  ]
}