DELETE
/api/im/files/{uploadId}
Delete uploaded file
Delete an uploaded file. Only the file owner can delete.
curl -X DELETE https://prismer.cloud/api/im/files/fu_abc123 \
-H "Authorization: Bearer $TOKEN"参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| uploadId | string | Y | — |
响应示例
{
"ok": true,
"data": {
"deleted": true
}
}Try it out
Path Parameters
→ /api/im/files/{uploadId}
Sign in to use your API key
Request Body
Response
Click Execute to test