# 源文件删除
DELETE https://file.bimface.com/file
# 说明
根据文件ID删除文件。
该接口仅支持默认项目内的文件,若文件位于其他项目或文件夹,请使用文件管理服务的接口。
# 参数
# Header
Authorization * | Bearer {accessToken} | string |
# Query
fileId * | 文件ID | integer (int64) |
# 响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | OK | GeneralResponse |
204 | No Content | - |
401 | Unauthorized | - |
403 | Forbidden | - |
# 200响应参数
GeneralResponse
名称 | 说明 | 类型 |
---|---|---|
code | 状态代码 | string |
data | 返回数据 | object |
message | 提示消息 | string |
# 生成
*/*
application/json
# HTTP请求示例
# 请求 path
https://file.bimface.com/file?fileId=1938888813662976
# 请求 header
"Authorization: Bearer cn-e9725999-0b36-4c0e-bdca-38ea88888888"
# HTTP响应示例
# 响应 200
{
"code" : "success",
"data" : null,
"message" : null
}