• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Objects
  5. DELETE Object
  6. Requests

Requests

Syntax

DELETE /ObjectKey HTTP/1.1
 User-Agent: agent 
 Host: bucketname.obs.example.com 
 Accept: */*
 Date: date 
 Authorization: authorization

Request parameters

Table 1 describes the request parameter.

For deleting an object, only parameters listed in Table1 Request parameter are supported. If the request contains parameters that cannot be identified by OBS, the server returns the 400 error code.

Table 1 Request parameter

Parameter

Description

Remarks

versionId

Indicates the version ID of an object to be deleted.

Type: String

Optional

Request Headers

This request uses common headers. For details about common request headers, see section Common Request Headers.

Request Elements

This request involves no elements.