*** title: Uninstall the Postman Insights Agent updated: 2025-07-16T00:00:00.000Z early\_access: false plan: beta max-toc-depth: 2 ---------------- If you need to remove the Postman Insights Agent from your local machine and deployment, follow the [CLI](#cli) instructions and the directions listed for your deployment: [Kubernetes](#kubernetes), [AWS ECS](#aws-ecs), [AWS EC2](#aws-ec2), and [AWS Elastic Beanstalk](#aws-elastic-beanstalk). You can also contact [Support](#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: ```bash apt remove postman-insights-agent ``` To uninstall the Insights Agent client from macOS, run the following: ```bash brew uninstall postman-insights-agent ``` ## Kubernetes The Insights Agent uninstall on Kubernetes depends on whether you installed the Agent as a DaemonSet or [sidecar](#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: ```bash 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. ```bash 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: ```bash 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](https://releases.observability.postman.com/scripts/postman-insights-agent-beanstalk.config) file from the `.ebextensions` folder. 2. Deploy your application to the Beanstalk environment using one of the following methods: * [Elastic Beanstalk Console](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-configuration-methods-during.html#configuration-options-during-console-ebextensions) * [EB CLI](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-configuration-methods-during.html#configuration-options-during-console-ebextensions) * [AWS CLI](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-configuration-methods-during.html#configuration-options-during-awscli-ebextensions) 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](mailto:observability-support@postman.com) or use the [Postman Discord](https://discord.gg/hhNCtxjfyK?utm_campaign=global_ent_user_fy26q2_prdctcm\&utm_medium=community_u\&utm_source=postman_community) channel.