archive uri version
/members/{member}/groups/{group}/uris/{uri}/versions/{versionid}/archive [POST]
| API Support | Available since | Last updated | Output |
|---|---|---|---|
| 5.4000 | 5.4000 | xml, json |
Description
Archive an existing version on a URI.
Parameters
No parameters required.
Permission
This service requires approver or above.
Response
<version-archive>
<version id="123" name="[name]" ...>
<author id="12" ...>
<fullname>John Jones</fullname>
</author>
<description>[content]</description>
</version>
</version-archive>
Error Handling
| Code | Cause / Description |
|---|---|
| 0x1309 | The version is already archived |
| 0x1319 | The object specified is not a version |
| 0x1320 | The version specified is attached to a different URI |
| 0x6304 | Failed to archive version |