Files API, gRPC: FileService.Delete
Written by
Updated at November 26, 2024
Delete a file by its ID.
gRPC request
rpc Delete (DeleteFileRequest) returns (DeleteFileResponse)
DeleteFileRequest
{
"file_id": "string"
}
Request message for deleting a file by ID.
Field |
Description |
file_id |
string Required field. ID of the file to delete. |
DeleteFileResponse
{}
Response message for the delete operation.
Field |
Description |
Empty |