API talk:Rollback

When I try to use this command using curl command, it gives the error Permission Denied, even though I am supplying right username and password. Any suggestions.
 * The account you are using needs to have the rollback-right, which on most Wikis is not the case for most users. MrBlueSky 23:48, 13 May 2011 (UTC)

Rolling back images?
Is there an equivalent API route for reverting images to earlier revisions? I mean the actual images, not the description article. --84.186.188.24 19:18, 26 November 2011 (UTC)
 * According to the API-help: filerevert.--Wdwd (talk) 19:53, 1 May 2016 (UTC)