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