Delete webhook responses

Possible responses when deleting a webhook:

Status Meaning Description  
  204 No Content The webhook was permanently deleted. The API returns no response body.
  401 Unauthorized The API returns this when the API key given doesn’t match a valid merchant account.
  403 Forbidden The API returns this when the API secret doesn’t have the required permission.
  404 Not Found The API returns this when it couldn’t find the given publishable_id.

To perform this operation, authenticate with an authentication token.

Examples

Successful delete webhook response

The webhook was permanently deleted. The API returns no response body (204 No Content).

Failed delete webhook responses

The API returns this when it couldn’t find the given publishable_id. (404):

{
  "error": "not_found",
  "error_description": "The requested resource could not be found."
}

Unknown error occurs

Shippit may return this if it has trouble with the combination of the input or merchant account configuration.

{
  "error": "system",
  "error_description": "An unknown error has occurred."
}