Subscription url that will receive events
List of topics to subscribe to
Deletes this object on the server.
Promise for the deletion. It contains no data, but the Promise error case should be handled.
const contentful = require('contentful-management')
const client = contentful.createClient({
accessToken: '<content_management_api_key>'
})
client.getOrganization('<organization_id>')
.then((organization) => organization.getAppEventSubscription(<app-definition-id>))
.then((eventSubscription) => eventSubscription.delete())
.then(() => console.log('eventSubscription deleted'))
.catch(console.error)
System metadata