Newer Version Available

This content describes an older version of this product. View Latest

Archive the Master Version of an Article

Archives the master version of an article. The actions are defined by the field change you request on the resource. To archive the master version, use "publishStatus":"Archived". To schedule a date for archiving, use "archiveScheduleDate" : <date>.

URI
1/services/data/v25.0/knowledgeManagement/articleVersions/masterVersions/<versionID>
Formats
JSON, XML
HTTP Method
PATCH
Authentication
Authorization: OAuth accesstoken
Parameters
Parameter Description
publishStatus Publishing status of the article. Use archived.
archiveScheduleDate Date to archive the article.
Example request body
Archive:
1{
2"publishStatus":"Archived"
3}
Schedule for archiving (using GMT date format):
1{
2"archiveScheduleDate" : "2012-04-19T07:00:00.000+0000"
3}
Example response body
HTTP status code 204 is returned when an existing record is updated.