Deleting Schematics action
If you no longer need your Schematics action, you can delete it. Deleting an action removes the Ansible playbook and your action data. However, any configurations applied to your target host by using the action are not removed.
Deleting an action by using Console
- Log in to IBM Cloud console.
- Navigate to Menu icon
> Platform Automation > Schematics > Ansible
- Click the three vertical dots to view the Delete option against the Ansible action that you want to delete.
- From the Delete ansible popup window, type and confirm the action that you want to delete.
- Click Delete
Deleting an action by using CLI
- From your local command line interface setup your CLI and Schematics plug-in.
- Delete an action by using the ibmcloud schematics action delete command.
- Delete an inventory by using the ibmcloud schematics inventory delete command.
- Check the logs to verify that the creation was successful.
Deleting an action by using API
- Retrieve your IAM access token and authenticate with Schematics by using the API.
- Delete an action by sending a DELETE request.
- Delete an inventory by sending a DELETE request.
- Check the response status to verify that the deletion was successful.
Next steps
After your Schematics action or inventory delete, you can further enhance your automation workflow with the following options:
- Creating an auto deploy button. The feature allows you to trigger your Schematics action automatically, streamlining the deployment process and reducing manual intervention.