DataServices

$viva->dataServices->updateSubscription()

Changed on

Met à jour une souscription webhook existante.

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

Request

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