Find an environment ID
Web UI

Update an environment from the Cloud environments page in Settings 
Copy the Environment ID
API
Filtering environments
Last updated
Was this helpful?


Last updated
Was this helpful?
Was this helpful?
curl -X GET \
'https://api.snyk.io/rest/orgs/YOUR-ORGANIZATION-ID/cloud/environments?version=2022-12-21~beta' \
-H 'Authorization: token YOUR-API-TOKEN'{
"jsonapi": {
"version": "1.0"
},
"data": {
"id": "3b7ccff9-8900-4e54-0000-1234abcd1234",
<trimmed for length>
}
}curl -X GET \
'https://api.snyk.io/rest/orgs/YOUR-ORGANIZATION-ID/cloud/environments?kind=google&version=2022-12-21~beta' \
-H 'Authorization: token YOUR-API-TOKEN'