https://docs.atlas.mongodb.com/reference/api/private-endpoint-delete-one-interface-endpoint/#delete-one-interface-endpoint
the API endpoint should have "interfaceEndpoints" with an "s" instead of just "interfaceEndpoint"