https://api.apyhub.com/generate/archive/files/archive-filePOSTmultipart/form-data| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | The name of the resulting zip file containing the archived files. The default name is output.zip. |
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| files | File array | Yes | The source files that you want to archive. You can select as many files as you want. |
| Status Code | Description |
|---|---|
| 200 | The request was successful. |
| 401 | Required authentication information is either missing or not valid for the resource. |
| 400 | Invalid input - the files are empty or the files are corrupt. |
| 500 | If any unexpected error occurs while processing the request. |
tokens or basic authentication mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".apy-token as the header parameter to pass the token.Authorization header to send the basic authentication credentials.