Required. The metadata store to purge Artifacts from. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}
Request body
The request body contains data with the following structure:
Fields
filter
string
Required. A required filter matching the Artifacts to be purged. E.g., updateTime <= 2020-11-19T11:30:00-04:00.
force
boolean
Optional. Flag to indicate to actually perform the purge. If force is set to false, the method will return a sample of Artifact names that would be deleted.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: artifacts.purge\n\n**Full name**: projects.locations.metadataStores.artifacts.purge\n\nPurges Artifacts. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1``/{parent}``/artifacts:purge` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`parent` `string` \nRequired. The metadata store to purge Artifacts from. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `filter` `string` \nRequired. A required filter matching the Artifacts to be purged. E.g., `updateTime \u003c= 2020-11-19T11:30:00-04:00`.\n`force` `boolean` \nOptional. Flag to indicate to actually perform the purge. If `force` is set to false, the method will return a sample of Artifact names that would be deleted. \n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/vertex-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation)."]]