deactivateArticle
- Home
- Blogs & Articles
- UgcArticle
- deactivateArticle
deactivateArticle
De-activates this article and its current active version.
Parameters
Name | Description |
articleID required | ID of article to work with. |
userID required | User ID that’s performing the action. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcArticle?action=deactivateArticle&articleID=267355&userID=229928503&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "service":"ugcArticle", "action":"deactivateArticle", "code":1, "message":"Article Successfully Deactivated", "item":true } |
Service Information
Service | ugcArticle |
Method | deactivateArticle |
Type | REST |
Response Types | JSON, XML |