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