**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](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest#rest_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.

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `context` resource:

- `aiplatform.contexts.addContextChildren`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).