Example Procedure: Deleting a Server Template

To delete a Server Template, complete the following steps:

  1. Run the following command:

    ./iaas-delete-server-template --base-url https://<localhost>/ --access-key-file ak.file --server-template-id TMPL-aaaaaaa8-bbb4-ccc4-ddd4-eeeeeeeeee03

    The command deletes the specified Server Template. The command does not return any value; only the command prompt is returned.

  2. Verify the deletion of the Server Template by running the iaas-describe-server-templates command, as in the following example:

    ./iaas-describe-server-templates --base-url https://<localhost>/ --access-key-file ak.file --ids TMPL-aaaaaaa8-bbb4-ccc4-ddd4-eeeeeeeeee03

    Verify that the deleted Server Template is not listed in the output of this command.