deletePost
- Home
- Forums
- UgcForumPost
- deletePost
deletePost
Attempt to delete a forum post.
Parameters
| Name | Description |
| node_id required | Node ID the post belongs to. |
| post_id required | ID of a forum post. |
| user_id required | ID of the user performing an action. |
| user_relation required | User relation of the user performing an action. |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/ugcForumPost?action=deletePost&node_id=188234&post_id=556458523&user_id=143593317&user_relation=owner&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 |
{ "service":"ugcForumPost", "action":"deletePost", "code":1, "message":"Post Successfully Deleted.", "item":true } |
Service Information
| Service | ugcForumPost |
| Method | deletePost |
| Type | REST |
| Response Types | JSON, XML |