Purges contexts.
HTTP request
POST https://{service-endpoint}/v1beta1/{parent}/contexts:purge
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
parent |
Required. The metadata store to purge contexts from. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "filter": string, "force": boolean } |
Fields | |
---|---|
filter |
Required. A required filter matching the contexts to be purged. E.g., |
force |
Optional. Flag to indicate to actually perform the purge. If |
Response body
If successful, the response body contains an instance of Operation
.
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 parent
resource:
aiplatform.contexts.delete
For more information, see the IAM documentation.