Remove the specified file from the task or note as an attachment.
https://<space_id>.repsona.com/api/project/:projectId/:model/:modelId/files/:fileId
Owner Admin Member
| Name | Type | Description |
|---|---|---|
projectId* | string | Project ID |
model* | enum (task, task_comment, note, note_comment) | Task, Task comment, Note, Note comment |
modelId* | string | Task ID, Task comment ID, Note ID, Note comment ID |
fileId* | string | File ID |
{
"requestedBy": 1,
"project": 1,
"task": {
"files": [],
"createdAt": 1672498800000,
"updatedAt": 1672498800000,
"id": 1746,
"deletedAt": null,
"name": "Task name",
"sortOrder": 1,
"priority": 2,
"planned": null,
"actual": null,
"description": "Task Description",
"dueDate": 1672498800000,
"startDate": 1672498800000,
"extra": {},
"space": 1,
"status": 1,
"parent": 2,
"project": 1,
"milestone": 1,
"responsibleUser": 1,
"ballHoldingUser": 1
}
}