Skip to main content

Updating shares

To update an existing share, you can call our Sharing API endpoint using a PUT request on:

Request Method: PUT

https://api.enablenow.nl/shares/<share-id>

Request​

You can update the Expiration Date of a share using a JSON object with given parameters below:

Examples of request are provided below this table

Property
Type
Availability
Description
expirationDateUtc
datetime
Required
The expiration date of this share (in UTC)

Request model example​

For instance, if you want to update the expirationDateUtc to a different date, you would create a PUT request to:

Request Method: PUT

https://api.enablenow.nl/shares/af86536d-34e3-4ebc-6c64-08db56ccef25
// application/json request body
{
"expirationDateUtc": "2026-04-30T12:00:00",
}

Webhook​

When a Share is updated within EnableNow, a webhook event will be sent to the targeted EnableNow Customer/ App.
The receiving EnableNow Customer will need to configure the webhooks by following the steps explained on the page Webhooks.

The event that is sent is: 'databridge.share.updated'.