deleteThread
- Home
 - Forums
 - UgcForumThread
 - deleteThread
 
deleteThread
Deletes a thread and all of its posts and user subscriptions records.
Parameters
| Name | Description | 
| node_id required | Node ID the thread belongs to. | 
| thread_id required | ID of a forum thread. | 
| user_id required | ID of the user performing an action. | 
| user_relation required | User relation of the user making the request. | 
| output optional | The response output format. Accepts JSON and XML. | 
Request Syntax
| https://services.onesite.com/rest/ugcForumThread?action=deleteThread&node_id=188234&thread_id=31497268&user_id=229928503&user_relation=member&devkey=[devkey] | 
JSON Response
| 
					 1 2 3 4 5 6 7  | 
						{ 	"service":"ugcForumThread", 	"action":"deleteThread", 	"code":1, 	"message":"Thread successfully deleted", 	"item":true }  | 
					
Service Information
| Service | ugcForumThread | 
| Method | deleteThread | 
| Type | REST | 
| Response Types | JSON, XML |