Dashboard > SmugMug > ... > API 1.2.0 > smugmug.categories 1.2.0 > smugmug.categories.rename 1.2.0
Log In   View a printable version of the current page.
SmugMug
smugmug.categories.rename 1.2.0
Added by David Parry , last edited by David Parry on Dec 21, 2007  (view change)
Labels: 
(None)

smugmug.categories.rename

Renames an existing category with the given name.

Arguments

  • SessionID - string.
  • CategoryID - integer.
  • Name - string.

Result

Returns an empty successful response, if it completes without error.

Fault Codes

  • 3 - "invalid session"
  • 4 - "invalid user"

Sample Responses

REST

<rsp stat="ok">
  <method>smugmug.categories.rename</method>
</rsp>

JSON

{
  "stat":"ok",
  "method":"smugmug.categories.rename",
}

PHP

a:2:{
  s:4:"stat";s:2:"ok";
  s:6:"method";s:24:"smugmug.categories.rename";
}

XML-RPC


Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators