Hello, welcome to MongoDB Community
It is not possible to obtain the ID through the GUI for some resources, only via the API. As far as I remember, this is one of them kkkk.
I needed to import some VPCE’s and Private Links and I needed to get the PL ID from the administration API.
This is the curl
curl --user "{PUBLIC_KEY}:{PRIVATE_KEY}" \
--digest \
--header "Accept: application/vnd.atlas.2024-05-30+json" \
-X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{PROJECT_ID}/privateEndpoint/{PROVIDER_NAME}/endpointService?pretty=true"
PROVIDER_NAME = AWS || GCP || AZURE
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Private-Endpoint-Services/operation/listPrivateEndpointServices
1 Like