/** * Deletes an OpenTok archive. * <p> * You can only delete an archive which has a status of "available", "uploaded", or "deleted". * Deleting an archive removes its record from the list of archives. For an "available" archive, * it also removes the archive file, making it unavailable for download. For a "deleted" * archive, the archive remains deleted. * * @param String $archiveId The archive ID of the archive you want to delete. * * @return Boolean Returns true on success. * * @throws ArchiveException There archive status is not "available", "updated", * or "deleted". */ public function deleteArchive($archiveId) { Validators::validateArchiveId($archiveId); return $this->client->deleteArchive($archiveId); }