# flow2act · Signing-Secret erneuern

Erzeuge ein neues Secret; das alte Secret wird sofort nicht mehr verwendet.



## POST /v1/webhook-endpoints/{endpointId}/rotate-secret

Authentication: FLOW2ACT_ACCESS_TOKEN from flow2act sign-in
Required tenant header: X-Organization-Id.
Required user permissions: Administrator oder Sandbox-Entwickler erforderlich. The API checks current membership, roles, key scopes and resource permissions on every request. Documentation visibility grants no access.

## Input parameters
- revision (integer, required): min 1 · max 9007199254740991

## Request example (replace example IDs)

```sh
curl -X POST "https://api.flow2act.com/v1/webhook-endpoints/endpointId/rotate-secret" \
  -H "authorization: Bearer $FLOW2ACT_ACCESS_TOKEN" \
  -H "x-organization-id: 10000000-0000-4000-8000-000000000001" \
  -H "idempotency-key: example-rotate-webhook-secret-001" \
  -H "content-type: application/json" \
  --data-raw '{
  "revision": 1
}'
```

Source: /docs/rotate-webhook-secret
Full schemas: /docs/openapi.json
