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.

No standalone CLI command

The CLI does not expose this endpoint as a standalone command. Use the SDK commentAttachments.cancelUpload method or the cURL example below.

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.