DataServices

$viva->dataServices->updateSubscription()

Met à jour une souscription webhook existante.

$viva->dataServices->updateSubscription(
    subscriptionId: 'sub-uuid',
    url: 'https://example.com/webhooks/new-url',
);
put/DataServices/updateSubscription

Query parameters

subscriptionIdstring uuid required
urlstring uri required
eventTypestring nullable

Nouveau type d'événement (null = conserver l'actuel)

Response

Souscription mise à jour

object required

Changes

Changed in 1 of the 9 revisions of this API.1