latestOpenAPI 3.1.02026-08-19722176474.5 KB
f1eea337ff61
Task Attachments
Rename a subtask attachment
Rename an attachment. Send the new name without an extension — the stored extension is kept.
put/v1/tasks/{taskId}/subtasks/{subtaskId}/attachments/{attachmentId}
Path parameters
taskIdinteger required
ID of the parent task
subtaskIdinteger required
ID of the subtask
attachmentIdinteger required
ID of the attachment
Headers
X-Org-Idinteger required
Organization ID
Request body
Example request
{
"attachmentName": "Signed contract"
}Response
Attachment renamed successfully
Example response
{
"success": true,
"message": "Operation completed successfully",
"code": 200,
"timestamp": "2023-01-01T12:00:00Z"
}