Update an Existing Saved Search
POST /user/search/{savedQuery}
Update user's saved search
POST /rest/user/search/{savedQuery}?{newName}&{projectShortName}&{visibleForGroup}&{updatableByGroup}&{q}
Sample
POST http://localhost:8081/rest/user/search/Query%20name?newName=New+query+name&visibleForGroup=All+users&updatableByGroup=idea-developers&q=%23Bug
Cookie: $Version=0; JSESSIONID=1h2t265efsl30fhu4777pu8z6; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=MTVhMjY2OGUxMTUxMTI5MGMzNjhlZWM5NTJiNGJkNmIyNzc3NjdjZmM3YWU4MTVjYzQwYWE1MWZlYTkwNTcxNzphcHBfZXhjZXB0aW9u; $Path=/
HTTP/1.1 301 Moved Permanently
Content-Type: application/xml;charset=UTF-8
Location: https://example.com/youtrack/rest/user/search/New%20query%20name
Content-Length: 0
Server: Jetty(7.2.0.v20101020)
Last modified: 2 February 2017