Media

Cancel a pending upload.

post/v1/cancel_upload

Request

  • Base URL: https://partner.mindupload.app
  • URL: https://partner.mindupload.app/v1/cancel_upload
  • Auth: API key in header X-Partner-Key

Request body

preferred_languagestring nullable

BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages.

usernamestring nullable

The end-user's username.

passwordstring nullable

The end-user's password on first sign-in. After login/register, send the returned session token (JWT) here instead — the field accepts either, and reusing the token keeps raw passwords out of your storage.

r2_keystring nullable

Opaque media object key returned by upload-start operations and reused for multipart upload calls.

Response

Result envelope — check the success field.

successboolean

Whether the call succeeded.

error_messagestring nullable

Human-readable reason when success is false.

error_codestring

Changes

No recorded changes to this operation across all 2 revisions of this API.