Removes a context file from a session.
HTTP request
POST https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/sessions/*}:removeContextFile
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the session. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "fileId": string } |
Fields | |
---|---|
fileId |
Required. The ID of the context file. |
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 name
resource:
discoveryengine.sessions.removeContextFile
For more information, see the IAM documentation.