Deleting a history collection configuration
This example describes how to delete a history collection configuration.
To delete a history collection configuration, use the DELETE /data/historycollections endpoint.
The format of the path is as follows:
https://host:port/api/v1/data/historycollections?name=uadvisor_name&lstdate=YYYMMDDHHMMSS000
Where:
- uadvisor_name is the unique name of the history collection configuration in the format
UADVISOR_xxxxx. Commonly, Kpp and tablename appear in the name. - YYYMMDDHHMMSS000 is the timestamp when the history collection configuration was last modified.
Note: This timestamp value is used as a locking mechanism to prevent multiple requests aimed at the same history collection configuration. For information about the format of the timestamp, see Using time values for requests.Tip: You can obtain this value by using the
GET /data/historycollectionsendpoint; the lstdate parameter is returned as part of the response.