delete Method
Delete an EventSubscription.
delete(requestContext: AuthorizedClientRequestContext, iModelId: GuidString, eventSubscriptionId: string): Promise<void>
throws IModelHubError with IModelHubStatus.EventSubscriptionDoesNotExist if EventSubscription does not exist with the specified subscription.wsgId.
throws Common iModelHub errors
Parameter | Type | Description |
---|---|---|
requestContext | AuthorizedClientRequestContext | The client request context |
iModelId | GuidString | Id of the iModel. See HubIModel. |
eventSubscriptionId | string | Id of the EventSubscription. |
Returns - Resolves if the EventSubscription has been successfully deleted.
Defined in
Last Updated: 08 January, 2020