Task Attachments
Rename a task attachment
Changed onRename an attachment. Send the new name without an extension — the stored extension is kept.
put/v1/tasks/{taskId}/attachments/{attachmentId}
Request
- Base URLhttps://api.astravue.com
- URLhttps://api.astravue.com/v1/tasks/{taskId}/attachments/{attachmentId}
- Authnone declared. Required headers: X-Org-Id
Path parameters
taskIdinteger required
ID of the task
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"
}Changes
- info
endpoint added
- info