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

smugmug.subcategories.rename

Renames an existing subcategory with the given name.

Arguments

  • string SessionID
  • integer SubCategoryID
  • string Name

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.subcategories.rename</method>
</rsp>

JSON

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

PHP

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

XML-RPC


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