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";
}