The Lynked Public API is in development. Endpoints will appear here as they go live.

Delete a webhook subscription

DELETE
/webhooks/{id}

Lynked stops sending to the URL at once; retries still queued for it are dropped.

Path parameters

  • idintegerRequired

    The subscription id.

Responses

Success
  • 204 No Content

    The subscription was deleted.

Errors
  • 401 UnauthorizedError

    The API key is missing, invalid or revoked.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 403 ForbiddenError

    The Public API is disabled for this business.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 404 Not FoundError

    The resource does not exist or does not belong to this business.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 422 Unprocessable EntityValidationError

    The request is invalid; errors lists the problems per field.

    4 fields
    • messagestring

      All problems in one line.

    • errorsobject

      Request field path → its problems.

    • error_codestring

      undefined for validation errors for now; see Errors for the list of codes.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

  • 429 Too Many RequestsRateLimitError

    More than 120 requests per minute for this business.

    Headers
    • Retry-Afterinteger

      Seconds to wait before the next request.

    4 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

    • retry_afterinteger

      Seconds to wait before the next request; the same value as the Retry-After header.

  • 500 Internal Server ErrorError

    Something failed on Lynked's side. Retry later; if it persists, contact Lynked support with the error_uid.

    3 fields
    • messagestring

      What went wrong. The text may change; use error_code in your code.

    • error_codestring

      Machine-readable code of the problem, for example api_key_invalid; it does not change within v1. Every error has one: internal_server_error on a 500, undefined when the error has no specific code yet. See Errors for the list.

    • error_uidstring

      Identifier of this error in Lynked's logs. Quote it when you contact Lynked support.

Request
curl -X DELETE 'https://api.lynked.ie/api/public/v1/webhooks/{id}' \
  -H 'Authorization: Bearer lk_live_...'
Response 204 No Content
HTTP/3 204 No Content