Skip to main content
Version: API v1

Updated den gewünschten Webhook

PUT /v1/webhooks/{webhookIdentifier}/
v1
PUT
updateWebhook

Updated die Daten des gewünschten Webhooks

Request

  • webhookIdentifierstring
    required

    Die ID des Webhooks

Responses

application/json

Der überarbeitete Webhook

  • uidstring
  • urlstring (uri)
    required
  • methodstring (one of: GET, POST, PUT, DELETE, PATCH)
    required
  • eventType"DOMAIN_REGISTRATION_STATUS"
    required
  • headersobject
    • parametersobject
      • keystring
      • valuestring

    Usage examples

    $ curl \
    --fail \
    --location \
    -X PUT \
    -d '{"uid":"string","url":"string","method":"GET","eventType":"DOMAIN_REGISTRATION_STATUS","headers":{},"parameters":{"key":"string","value":"string"}}' \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    -H 'Content-Type: application/json' \
    https://api.mittwald.de/v1/webhooks/string