Deleting a situation

This example describes how to use the DELETE /situations endpoint to delete a situation.

The format of the path is as follows:
https://host:port/api/v1/situations?name=situation_name&lstdate=YYYMMDDHHMMSS000
Where:
  • situation_name is the name of the situation to delete.
  • YYYMMDDHHMMSS000 is the timestamp when the situation was last modified.
    Note: This timestamp value is used as a locking mechanism to prevent multiple requests aimed at the same situation. For information about the format of the timestamp, see Using time values for requests.
    Tip: You can obtain this value by using the GET /situations endpoint; the lstdate parameter is returned as part of the response.