Beta feature

Uninstall the Postman Insights Agent

If you need to remove the Postman Insights Agent from your local machine and deployment, follow the CLI instructions and the directions listed for your deployment: Kubernetes, AWS ECS, AWS EC2, and AWS Elastic Beanstalk. You can also contact Support.

CLI

To uninstall the Insights Agent client on Debian and macOS, follow the steps listed below. For all other distributions of Linux and other operating systems, remove the postman-insights-agent file from your file's location.

To uninstall the Insights Agent client from Debian, run the following:

apt remove postman-insights-agent

To uninstall the Insights Agent client from macOS, run the following:

brew uninstall postman-insights-agent

Kubernetes

The Insights Agent uninstall on Kubernetes depends on whether you installed the Agent as a DaemonSet or sidecar.

DaemonSet

To remove the Insights Agent from your Kubernetes DaemonSet deployment, do the following:

  1. Either delete all the created resources manually, or run the following command to delete the manifest file you downloaded:

    kubectl delete -f postman-insights-agent-daemonset.yaml
    
  2. Remove the environment variables added in the service configs.

Sidecar

To remove the sidecar from your Kubernetes sidecar deployment, do the following:

  1. Access the sidecar in your Kubernetes deployment directory.

    kubectl edit -n {your namespace} deployment/{your namespace}
    
  2. Find the spec: section, then navigate to the containers: section within it.

  3. Delete the Postman Insights Agent container with "image: public.ecr.aws/postman/postman-insights-agent:latest".

AWS ECS

On AWS ECS, the Insights Agent installation modifies the task definition of your service to include the Insights Agent sidecar. To uninstall the Insights Agent, revert to the earlier version of your task definition. To fully uninstall the agent, you can delete the task definition that contains the Insights Agent sidecar.

AWS EC2

To turn off the Insights Agent on AWS ECS, you need to stop the systemd service. To do so, run the following:

sudo systemctl disable postman-insights-agent.service

AWS Elastic Beanstalk

To remove the Insights Agent from your AWS Elastic Beanstalk deployment, do the following:

  1. Remove the postman-insights-agent-beanstalk.config file from the .ebextensions folder.

  2. Deploy your application to the Beanstalk environment using one of the following methods:

  3. Remove the added ELB environment configurations.

Support

If you have questions, experience any issues, or have feedback on the beta product, please email the Postman Insights team or use the Postman Discord channel.

Last modified: 2025/07/16