Zum Hauptinhalt springen

Rotate the secret for an extension instance

PUT/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret/
v2
PUT
contributor-rotate-secret-for-extension-instance

Request

  • contributorIdstring
    required
  • extensionIdstring (uuid)
    required
  • extensionInstanceIdstring (uuid)
    required

Responses

application/json

Secret rotated successfully.

  • secretstring
    required
  • webhookResultobject
    required
    • failureboolean
      required
    • statusCodestring

      The status code returned by the external application.

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"allowWebhookFailure":true}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/contributors/string/extensions/f0f86186-0a5a-45b2-aa33-502777496347/extension-instances/f0f86186-0a5a-45b2-aa33-502777496347/secret