특성 그룹을 삭제하면 해당 특성 그룹에 대해 등록되었던 모든 BigQuery 데이터 소스가 자동으로 등록 취소됩니다. 특성 그룹에 기존 특성이 포함된 경우 force 쿼리 파라미터를 사용하여 특성 그룹을 삭제할 수 있습니다. 특성 그룹을 삭제하면 특성 레지스트리에서 BigQuery 테이블 또는 뷰가 등록 취소되고 이 데이터 소스에 포함된 특성 데이터에는 영향을 주지 않습니다.
시작하기 전에
아직 Vertex AI에 인증하지 않았다면 인증을 진행합니다.
Select the tab for how you plan to use the samples on this page:
Console
When you use the Google Cloud console to access Google Cloud services and
APIs, you don't need to set up authentication.
REST
로컬 개발 환경에서 이 페이지의 REST API 샘플을 사용하려면 gcloud CLI에 제공한 사용자 인증 정보를 사용합니다.
After installing the Google Cloud CLI,
initialize it by running the following command:
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-08(UTC)"],[],[],null,["# Delete a feature group\n\nWhen you delete a feature group, you automatically unregister any\nBigQuery data sources that were registered for that feature group. If\nthe feature group contains existing features, you can use the `force` query parameter\nto delete the feature group. Deleting a feature group unregisters the\nBigQuery table or view from the Feature Registry and\ndoesn't affect the feature data contained in those data sources.\n\nBefore you begin\n----------------\n\n\nto\nVertex AI, unless you've done so already.\n\nSelect the tab for how you plan to use the samples on this page: \n\n### Console\n\n\nWhen you use the Google Cloud console to access Google Cloud services and\nAPIs, you don't need to set up authentication.\n\n### REST\n\n\nTo use the REST API samples on this page in a local development environment, you use the\ncredentials you provide to the gcloud CLI.\n\n1. [Install](/sdk/docs/install) the Google Cloud CLI. After installation, [initialize](/sdk/docs/initializing) the Google Cloud CLI by running the following command: \n\n```bash\ngcloud init\n```\n2. If you're using an external identity provider (IdP), you must first [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n\n\nFor more information, see\n[Authenticate for using REST](/docs/authentication/rest)\nin the Google Cloud authentication documentation.\n\nDelete a feature group\n----------------------\n\nUse the following samples to delete a feature group along with its features. \n\n### Console\n\nUse the following instructions to delete a feature group and all its features using the Google Cloud console.\n\n1. In the Vertex AI section of the Google Cloud console, go\n to the **Feature Store** page.\n\n [Go to the Feature Store page](https://console.cloud.google.com/vertex-ai/feature-store)\n2. In the **Feature groups** section, select checkbox next to the feature group that you want to delete.\n\n3. Click **Delete** and then click **Confirm**.\n\n### REST\n\n\nTo delete a [`FeatureGroup`](/vertex-ai/docs/reference/rest/v1/projects.locations.featureGroups#resource:-featuregroup)\nresource, send a `DELETE` request by using the\n[featureGroups.delete](/vertex-ai/docs/reference/rest/v1/projects.locations.featureGroups/delete)\nmethod.\n\n\nBefore using any of the request data,\nmake the following replacements:\n\n- \u003cvar translate=\"no\"\u003eLOCATION_ID\u003c/var\u003e: Region where the feature group is located, such as `us-central1`.\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: Your project ID.\n- \u003cvar translate=\"no\"\u003eFEATURE_GROUP_NAME\u003c/var\u003e: The name of the feature group that you want to delete.\n- \u003cvar translate=\"no\"\u003eBOOLEAN\u003c/var\u003e: Optional: To delete the feature group even if it contains features, enter `true`. The default value is `false`.\n\n\nHTTP method and URL:\n\n```\nDELETE https://LOCATION_ID-aiplatform.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION_ID/featureGroups/FEATURE_GROUP_NAME?force=BOOLEAN\n```\n\nTo send your request, choose one of these options: \n\n#### curl\n\n| **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](/sdk/gcloud/reference/init) or [`gcloud auth login`](/sdk/gcloud/reference/auth/login) , or by using [Cloud Shell](/shell/docs), which automatically logs you into the `gcloud` CLI . You can check the currently active account by running [`gcloud auth list`](/sdk/gcloud/reference/auth/list).\n\n\nExecute the following command:\n\n```\ncurl -X DELETE \\\n -H \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n \"https://LOCATION_ID-aiplatform.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION_ID/featureGroups/FEATURE_GROUP_NAME?force=BOOLEAN\"\n```\n\n#### PowerShell\n\n| **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](/sdk/gcloud/reference/init) or [`gcloud auth login`](/sdk/gcloud/reference/auth/login) . You can check the currently active account by running [`gcloud auth list`](/sdk/gcloud/reference/auth/list).\n\n\nExecute the following command:\n\n```\n$cred = gcloud auth print-access-token\n$headers = @{ \"Authorization\" = \"Bearer $cred\" }\n\nInvoke-WebRequest `\n -Method DELETE `\n -Headers $headers `\n -Uri \"https://LOCATION_ID-aiplatform.googleapis.com/v1/projects/PROJECT_ID/locations/LOCATION_ID/featureGroups/FEATURE_GROUP_NAME?force=BOOLEAN\" | Select-Object -Expand Content\n```\n\nYou should receive a JSON response similar to the following:\n\n```\n{\n \"name\": \"projects/PROJECT_NUMBER/locations/LOCATION_ID/operations/OPERATION_ID\",\n \"metadata\": {\n \"@type\": \"type.googleapis.com/google.cloud.aiplatform.v1.DeleteOperationMetadata\",\n \"genericMetadata\": {\n \"createTime\": \"2023-09-15T04:54:03.632646Z\",\n \"updateTime\": \"2023-09-15T04:54:03.632646Z\"\n }\n },\n \"done\": true,\n \"response\": {\n \"@type\": \"type.googleapis.com/google.protobuf.Empty\"\n }\n}\n```\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- Learn how to [create a feature group](/vertex-ai/docs/featurestore/latest/create-featuregroup).\n\n- Learn how to [update a feature group](/vertex-ai/docs/featurestore/latest/update-featuregroup).\n\n- Learn how to [delete a feature from a feature group](/vertex-ai/docs/featurestore/latest/delete-feature)."]]