Re-register a provider webhook subscription
Registers the tenant’s existing webhook subscription at the provider again, without rotating the connection.
How it works
- It sends the provider the declared resource set, pointed at the delivery URL of the tenant’s current connection. The token, the signing key and the URL do not change.
- It does not promise that a subscription the provider blocked after delivery failures resumes. Check the subscription state at the provider afterwards.
- The write replaces the provider’s whole resource list. The call first reads what the provider holds. If it holds resources outside the declared set, the call is refused with
409, names them, and writes nothing. - To go ahead anyway, send
acknowledge_revokingwith exactly the resources the409named. Those resources are then removed from the provider’s subscription. If the set changed in the meantime, you get another409and nothing is written. - The provider keeps one subscription per credential. Where tenants share a credential, this write points it at your tenant’s URL until the other tenants’ health checks register their own URL again. This service cannot see which tenants share a credential.
- The answer has the delivery URL, which works as a credential. Treat the response body as a secret. It has no signing key.
- There is no
Idempotency-Key: a retry runs again and sends the same write. - After a call with
acknowledge_revoking, a retry can get409because the resources are already gone. That does not prove the first call landed, nor that it did not. Retry withoutacknowledge_revokingto see the current state. provider_typeis matched case-insensitively.
Cabeçalhos
Parâmetros de caminho
Corpo
OPTIONAL, and it forces a write that would otherwise be refused. Name EXACTLY the resources the 409 reported, each one spelled as the refusal printed it (a bare entity name, or an entity/EVENT pair where only an event under a declared entity is at risk) and the re-registration proceeds and REMOVES them from the provider's subscription. The set is re-measured at the provider on this call and compared against what you sent: a name you left out, or a name the provider is not holding outside the declared set, is refused with another 409 that says which. Comparison is exact per name (no case folding, no trimming) and insensitive to order; repeats are collapsed. Omit the field, or send an empty list, to get the ordinary refusal. It is NOT a conditional write: the provider offers none, so it cannot close the window between this service's read and its write. What it closes is the window between the refusal you read and the call you sent.

