Vertex AI documentation is no longer being updated Vertex AI's services are now part of Gemini Enterprise Agent Platform. See the most up-to-date information in the Agent Platform documentation .
Send feedback
Method: contexts.removeContextChildren
Stay organized with collections
Save and categorize content based on your preferences.
Full name : projects.locations.metadataStores.contexts.removeContextChildren
Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped.
Endpoint
post
https://{service-endpoint}/v1/{context}:removeContextChildren
Where {service-endpoint} is one of the supported service endpoints .
Path parameters
context
string
Required. The resource name of the parent Context.
Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
Request body
The request body contains data with the following structure:
Fields
childContexts[]
string
The resource names of the child Contexts.
Response body
If successful, the response body is empty.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-27 UTC.
Need to tell us more?
[[["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."],[],[]]