Files API, gRPC: FileService.Delete
Статья создана
Обновлена 28 октября 2024 г.
Delete a file by its ID.
gRPC request
rpc Delete (DeleteFileRequest) returns (DeleteFileResponse)
DeleteFileRequest
{
"fileId": "string"
}
Request message for deleting a file by ID.
Field |
Description |
fileId |
string Required field. ID of the file to delete. |
DeleteFileResponse
{}
Response message for the delete operation.
Field |
Description |
Empty |