admArchiveProjectVersion
     
    
| Syntax | admArchiveProjectVersion(projectKey, versionName, archive) | Package | adm | 
| Alias | 
 | Pkg Usage | archiveVersion(projectKey, versionName, archive) | 
Description
Archives/unarchives a project version.
Parameters
| Parameter name | Type | Required | Description | 
|---|---|---|---|
| projectKey | String | Yes | Project key. | 
| versionName | String | Yes | Version name. | 
| archive | Boolean (true/false) | Yes | Flag for archive(true) or unarchive(false). | 
Return Type
String / Boolean
The return type doesn't have a meaning on server. On cloud it will return true if the version is archived/unarchived and false otherwise.
- If projectKey or versionName is empty, an error will be raised. 
- If project or version does not exist, an error will be raised. 
See also
Peacock
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.
