Webhooks

Rotate a webhook's signing secret.

Returns the new secret once. The old one stops signing at once.

post/api/Webhooks/{id}/rotate-secret

Request

  • Base URL: https://api.3dprintlog.com
  • URL: https://api.3dprintlog.com/api/Webhooks/{id}/rotate-secret
  • Auth: OAuth 2 (authorization code, authorization URL https://3dprintlog.auth0.com/authorize, token URL https://3dprintlog.auth0.com/oauth/token)

Path parameters

idstring uuid required

The webhook's id.

Response

The webhook, with its new secret.

idstring uuid
urlstring nullable
descriptionstring nullable
eventsstring[] nullable

print.started, print.finished and/or print.failed.

enabledboolean
consecutiveFailuresinteger

Deliveries in a row that failed after their retries.

lastDeliveryAtstring date-time nullable
lastStatusCodeinteger nullable

The HTTP status of the last delivery, or null when no response came back.

lastDeliveryResultstring nullable

success, http_error, timeout, connection_failed or blocked_address; null before the first delivery.

autoDisabledAtstring date-time nullable

When repeated failures turned it off; turning it back on clears this.

createdDatestring date-time
updatedDatestring date-time
secretstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.