unload

To unload all events from the session, use the events/unload method.

Use this method before calling events/load to load events for a different period.

Endpoint

Copied!
svc=events/unload&params={}

Parameters

The method has no parameters. It always unloads all events loaded into the session. If you pass any parameters, they’re ignored.

Response

If the request is completed successfully, an empty response is returned.

Copied!
{ }

Otherwise, an error code is returned.

Error codes

Code Description
1 Invalid or obsolete request SID.
7 The event service is unavailable.

If you find a mistake in the text, please select it and press Ctrl+Enter.