OpenCourt Developers
API ReferenceWebhook endpoints

Delete a webhook endpoint

DELETE/v1/webhook_endpoints/{id}

Unsubscribe. Deliveries stop immediately; the delivery history stays in the club’s portal.

Authorization

bearerAuth
AuthorizationBearer <token>

Your club API key. Send it as Authorization: Bearer oc_live_….

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.getopencourt.com/v1/webhook_endpoints/8f1b2c3d-4e5f-4a6b-9c7d-0e1f2a3b4c5d"
{
  "id": "string",
  "object": "webhook_endpoint",
  "deleted": true
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}