DeleteFileUpload

Updated at:

Deletes an uploaded file.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

DmsUnit

string

No

The current DMS unit.

cn-hangzhou

FileId

string

Yes

The file ID.

f-8*******01m

CallFrom

string

No

For frontend use only.

TrailCenter

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

67E910F2-4B62-5B0C-ACA3-7547695C****

Success

boolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.

  • false: The request failed.

true

ErrorCode

string

The error code.

success

ErrorMessage

string

The error message returned when the call fails.

Specified parameter Tid is not valid.

Data

object

The returned struct.

FileId

string

The file ID.

f-8*******01m

Examples

Success response

JSON format

{
  "RequestId": "67E910F2-4B62-5B0C-ACA3-7547695C****",
  "Success": true,
  "ErrorCode": "success",
  "ErrorMessage": "Specified parameter Tid is not valid.",
  "Data": {
    "FileId": "f-8*******01m\n"
  }
}

Error codes

See for a complete list.

Release notes

See Release Notes for a complete list.