Important: Delete the artifacts from asynchronous map runs
The status, audit log, and trace log from an asynchronous map run are stored on the Redis server until you explicitly delete them. You must explicitly delete these artifacts when you run a map asynchronously, whether you run the map through a direct call, through the catalog, or from the Swagger interface.
To delete the artifacts of a map run, use a DELETE request and the URL of the
map-run resource returned from the initial POST request. (Omit
/status
from the URL.) For example:
> curl -X DELETE "http://localhost:8080/tx-rest/v1/itx/maps/direct/8b1f7e5e-5d16-480b-a972-03d66949cf7b"
To verify that the map artifacts are deleted, use a GET request to request the map’s status. For example:
> curl -X GET http://localhost:8080/tx-rest/v1/itx/maps/direct/8b1f7e5e-5d16-480b-a972-03d66949cf7b/status
After the artifacts of the map run are deleted, the GET request returns a response similar to the following:
{"code":404,"message":"No map run is in progress with id 8b1f7e5e-5d16-480b-a972-03d66949cf7b."}