'{username}', 'apiKey' => '{apiKey}', )); // 2. Obtain a Volume service object from the client. $volumeService = $client->volumeService(null, '{region}'); // 3. Get the snapshot. $snapshot = $volumeService->snapshot('{snapshotId}'); // 4. Delete it. $snapshot->delete();