Delete Registered api webhook
This endpoint deletes your registered webhook endpoint .
Endpoint
DELETE https://api.ezyhire.com/test/deleteRegisterAPIWebhook/{eventType}
Request
Headers
USER-Key: User/API key for authentication
Path: eventType
Field Name | Possible Values/Enums |
---|---|
eventType | TEST_COMPLETED,ID_VERIFICATION_COMPLETED,ALL |
Response
Successful Response
Status Code: 200 OK
Content:json
{
"statusCode": 200,
"error": "Registered API Webhook deleted successfully.",
"message": null,
"data": null
}
Error Response
Status Code: 401 Unauthorized
Content:json
{
"statusCode": 401,
"error": null,
"message": "Invalid User/API key",
"data": "Please provide a valid User/API key"
}
Error Response
Status Code: 404 Unauthorized
Content:json
{
"statusCode": 404,
"error": "No Registered API Webhook exists with this employer 06e782da-0c98-48ce-a1b0-5d253ddede34, for an event : ALL",
"message": null,
"data": null
}
Error Response
Status Code: 500 Internal Server Error
Content:json
{
"statusCode": 500,
"error": "string",
"message": "string",
"data": "string"
}