Skip to content

Delete Comment Attachment Tier 4

DELETE/api/comment-attachments/:idCopied!

Deletes an uploaded comment attachment.

Only the user who started the attachment upload can delete it.

If this is the comment's last attachment and the comment has no content, anchor, duration, or drawing, the comment is deleted automatically.

Example

ts
await client.commentAttachments.delete("CA1234567890ABCD");
bash
youvico comment-attachment delete \
  --id CA1234567890ABCD \
  --yes
bash
curl -X DELETE 'https://api.youvico.com/api/comment-attachments/CA1234567890ABCD' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Request

Path

idstringrequired
Comment attachment ID

Response

Returns 204 No Content.