Pular para o conteúdo

Delete a webhook

Removes a webhook subscription by webhookId. The response envelope in OpenAPI does not include a data payload — only message, type, and optional statusCode.

DELETE/api/v1/webhooks/{webhookId}

Delete sub-tenant webhook

Deletes the webhook configuration so Lina stops sending that subscription.

Auth: Bearer Token

Parâmetros de path

1 campo
webhookId
pathstring

Webhook id to delete.

curl --request DELETE \
  --url 'https://embedded-payment-manager.hml.linaob.com.br/api/v1/webhooks/webhook123' \
  --header 'Authorization: Bearer <SEU_TOKEN>'

Response

200Webhook deleted successfully.
Response body
object
  • messagestring

    Response message.

  • typestring

    Envelope type: `error`, `warning`, `info`, or `success`.

  • statusCodenumber· nullable

    HTTP status in the envelope.

200 · Webhook deleted successfully.
{
  "message": "Webhook deleted.",
  "type": "success",
  "statusCode": 200
}

Next steps