| copyright | lastupdated | keywords | subcollection | ||
|---|---|---|---|---|---|
|
2025-11-03 |
schematics, schematics action delete, delete schematics actions, delete ansible playbooks, delete action, |
schematics |
{{site.data.keyword.attribute-definition-list}}
{: #delete-ansible-actions}
If you no longer need your {{site.data.keyword.bpshort}} 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. {: shortdesc}
{: #create-action-working-ui} {: ui}
- Log in to {{site.data.keyword.cloud_notm}} console{: external}.
- Navigate to Menu icon
> Platform Automation > Schematics > Ansible{: external}
- 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
{: #delete-action-working-cli} {: cli}
- From your local command line interface{: external} setup your CLI and {{site.data.keyword.bpshort}} 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.
{: #delete-action-settings-api} {: api}
- Retrieve your IAM access token and authenticate with {{site.data.keyword.bpshort}} 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.
{: #action-working-update-nextsteps}
After your {{site.data.keyword.bpshort}} 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 {{site.data.keyword.bpshort}} action automatically, streamlining the deployment process and reducing manual intervention.