Skip to content

Cancel Comment Attachment Upload Tier 4

POST/api/comment-attachments/:id/upload.cancelCopied!

Cancels an in-progress multipart upload for a comment attachment.

Only the user who started the upload can cancel it.

Endpoint not callable from CLI

The CLI does not expose direct comment attachment upload commands. Use the SDK helper or call the HTTP endpoint directly.

Example

ts
await client.commentAttachments.cancelUpload("CA1234567890ABCD");
bash
curl -X POST 'https://api.youvico.com/api/comment-attachments/CA1234567890ABCD/upload.cancel' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Request

Path

idstringrequired
Comment attachment ID

Response

Returns 204 No Content.