Skip to main content
DELETE
/
client
/
events
/
deleteEvent
/
{id}
Delete webhook
curl --request DELETE \
  --url https://v2.flabs.in/client/events/deleteEvent/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Subscribed event deleted successfully"
}

Authorizations

Authorization
string
header
required

JWT token obtained from the authentication endpoint

Path Parameters

id
string
required

Unique identifier of the webhook to delete

Query Parameters

labID
string
required

Flabs lab (branch) identifier. Fetch the list of labs via GET /client/labs.

corporateUser
string

Party-scoped accounts only. The corporate the webhook is bound to. Pass either corporateUser or organization, not both.

organization
string

Party-scoped accounts only. The doctor/hospital the webhook is bound to. Pass either corporateUser or organization, not both.

Response

Successfully deleted webhook

success
boolean
Example:

true

message
string
Example:

"Subscribed event deleted successfully"