プライベートエンドポイントの設定を更新します。
Atlas Project/Group ID。
アプリケーションの ObjectID。App Services API プロジェクトとアプリケーション ID のセクションでは、この値を見つける方法が示されています。
VPC プライベートエンドポイントの _id ObjectID。
プライベートエンドポイントをホストするクラウドプロバイダー リージョン。
クラウドプロバイダーからのプライベートエンドポイント ID。
エンドポイントを説明するオプションのコメント。
エンドポイントの型。エンドポイントの型と廃止されたエンドポイントの "general" または "sync" への移行の詳細については、「VPC プライベートエンドポイントの使用」を参照してください。
値は sync または general です。
curl \
--request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/security/private_endpoints/{privateEndpointId}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"cloud_provider_region":"aws-us-east-1","cloud_provider_endpoint_id":"vpce-12345678","comment":"string","endpoint_type":"sync"}'
{
"cloud_provider_region": "aws-us-east-1",
"cloud_provider_endpoint_id": "vpce-12345678",
"comment": "string",
"endpoint_type": "sync"
}
{
"_id": "string",
"cloud_provider_region": "aws-us-east-1",
"cloud_provider_endpoint_id": "vpce-12345678",
"comment": "string",
"endpoint_type": "sync"
}