Method: 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.

HTTP request

POST https://{service-endpoint}/v1/{context}:removeContextChildren

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

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:

JSON representation
{
  "childContexts": [
    string
  ]
}
Fields
childContexts[]

string

The resource names of the child contexts.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the context resource:

  • aiplatform.contexts.addContextChildren

For more information, see the IAM documentation.