Retrieves archives for an enterprise.
To learn more about the archive APIs, see the Archive API Guide.
This operation is performed by calling function getArchivesV2025R0.
See the endpoint docs at API Reference.
client.getArchives().getArchivesV2025R0(new GetArchivesV2025R0QueryParams.Builder().limit(100L).build())
- queryParams
GetArchivesV2025R0QueryParams- Query parameters of getArchivesV2025R0 method
- headers
GetArchivesV2025R0Headers- Headers of getArchivesV2025R0 method
This function returns a value of type ArchivesV2025R0.
Returns a list of archives in the enterprise.
Creates an archive.
To learn more about the archive APIs, see the Archive API Guide.
This operation is performed by calling function createArchiveV2025R0.
See the endpoint docs at API Reference.
client.getArchives().createArchiveV2025R0(new CreateArchiveV2025R0RequestBody.Builder(archiveName).description(archiveDescription).build())
- requestBody
CreateArchiveV2025R0RequestBody- Request body of createArchiveV2025R0 method
- headers
CreateArchiveV2025R0Headers- Headers of createArchiveV2025R0 method
This function returns a value of type ArchiveV2025R0.
Returns a new archive object.
Permanently deletes an archive.
To learn more about the archive APIs, see the Archive API Guide.
This endpoint is currently unavailable. Please contact support for assistance.This operation is performed by calling function deleteArchiveByIdV2025R0.
See the endpoint docs at API Reference.
client.getArchives().deleteArchiveByIdV2025R0(archive.getId())
- archiveId
String- The ID of the archive. Example: "982312"
- headers
DeleteArchiveByIdV2025R0Headers- Headers of deleteArchiveByIdV2025R0 method
This function returns a value of type void.
Returns an empty response when the archive has been deleted.
Updates an archive.
To learn more about the archive APIs, see the Archive API Guide.
This operation is performed by calling function updateArchiveByIdV2025R0.
See the endpoint docs at API Reference.
client.getArchives().updateArchiveByIdV2025R0(archive.getId(), new UpdateArchiveByIdV2025R0RequestBody.Builder().name(newArchiveName).description(newArchiveDescription).build())
- archiveId
String- The ID of the archive. Example: "982312"
- requestBody
UpdateArchiveByIdV2025R0RequestBody- Request body of updateArchiveByIdV2025R0 method
- headers
UpdateArchiveByIdV2025R0Headers- Headers of updateArchiveByIdV2025R0 method
This function returns a value of type ArchiveV2025R0.
Returns the updated archive object.