[TMEngine URL]/renamehttp://localhost:8000/TMServer/renamePOST' request to the method end point with these parameters in a
JSON body:| Field | Required | Content |
id |
Yes |
ID of the memory to rename
|
name |
Yes | New name for the memory |
MapDbEngine' can be renamed.{
"id": "1568163112478",
"name": "Updated Memory Name"
}
status' is set to 'OK'.{
"status": "OK"
}
status' is set to 'failed' and field
'reason' contains the error cause.{
"status": "failed",
"reason": "Wrong memory type"
}