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