Deletes a stored Context.
HTTP request
DELETE https://{service-endpoint}/v1/{name}
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the Context to delete. Format: |
Query parameters
Parameters | |
---|---|
force |
The force deletion semantics is still undefined. Users should not use this field. |
etag |
Optional. The etag of the Context to delete. If this is provided, it must match the server's etag. Otherwise, the request will fail with a FAILED_PRECONDITION. |
Request body
The request body must be empty.
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 name
resource:
aiplatform.contexts.delete
For more information, see the IAM documentation.