Close Memory

End Point: [TMEngine URL]/close
Default: http://localhost:8000/TMServer/close
Send a 'POST' request to the method end point with this parameter in a JSON body:
Field Required Content
id Yes ID of the memory to close
Example:
{
  "id": "1568163112478"
}
The server responds with a JSON object. On success, field 'status' is set to 'OK'.
{
  "status": "OK"
}
On error, field 'status' is set to 'failed' and field 'reason' contains the error cause.
Example:
{
  "status": "failed",            
  "reason": "Unknown memory"        
}