[This is preliminary documentation and is subject to change.]
Removes a comment.
User should be logged in to call this method.
Namespace:
Flux.API.ServicesAssembly: Rtx.Flux.WidgetsSite (in Rtx.Flux.WidgetsSite.dll) Version: 1.5.107.1
Syntax
| C# |
|---|
public InvokeResult DeleteComment( RequestInfo info, int commentId ) |
Parameters
- info
- Type: Flux.API..::.RequestInfo
The request context.
- commentId
- Type: System..::.Int32
The comment identifier to be deleted.
Return Value
None| Ok | The comment was deleted. |
| InvalidParameters | One or more required parameters is missing or invalid. |
| NotFound | No comment exists for the specified identifier. |
| NotLoggedIn | The user is not logged in (ie, their session has timed out). |
| Forbidden | The user attempted to delete comment that they do not own or otherwise have rights to remove. |
| ReadOnlyMode | API is in readonly mode. |
| SystemError | An unhandled system error occurred. |