Deleting an agent

Delete a draft or a published version of an agent from the catalog in Cloudera Agent Studio.

Deleting an agent is permanent and cannot be undone. Agent Studio deletes a draft by name, whereas a published agent is deleted one version at a time.

  • Make sure that your user has the Admin or Builder role. The Delete menu item requires the view_authoring_session capability and does not appear for other roles. For more information, see User roles and capabilities.
  • Cloudera recommends that you review any active deployments or dependencies before deleting an agent so running workloads are not affected.
  • Make sure that the agent is not a template. The Delete menu item does not appear for templates.
  1. Launch the Cloudera Agent Studio console.
  2. In the left navigation pane, click Assets > Agent Catalog.
    The Agents page is displayed.
  3. In the row of the draft or the published version that you want to delete, click the Actions menu and click Delete.
    The Delete agent dialog box is displayed.
  4. Click Delete.
    To close the dialog without deleting the agent, click Cancel.
    A confirmation message indicates that the deletion succeeded. If the deletion fails, a message indicates the failure and displays the error details returned by Agent Studio.
  5. Optional: To check the result, look for the agent in the My Drafts section or the Agents section of the page.

The draft or the published version no longer appears in the list on the Agent Catalog page. The page refreshes automatically after the deletion.