Remove a Snyk Cloud Environment
When you remove a Snyk Cloud Environment, Snyk removes all associated scans, issues, and records of resources. Your actual resources in the cloud provider are not affected.
curl -X DELETE \
-H 'Authorization: token YOUR-SERVICE-ACCOUNT-TOKEN'
There is no output if the command is successful.
Removing an environment does not remove the Snyk Identity & Access Management (IAM) role. To fully remove Snyk's access to your Amazon Web Services (AWS) account, delete the IAM role using the same infrastructure as code tool that created it: