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)