Help Center/ Object Storage Service/ SDK Reference/ C/ Parameters/ Request Parameters for Deleting Objects in a Batch
Updated on 2026-08-03 GMT+08:00

Request Parameters for Deleting Objects in a Batch

Table 1 List of request parameters

Parameter

Type

Mandatory (Yes/No)

Description

options

const obs_options *

Yes

The context of the requested bucket. Refer to Configuring option (SDK for C) to set the AK, SK, endpoint, bucket, timeout, and temporary credentials through obs_options.

object_info

obs_object_info *

Yes

Name and version ID of the object to be deleted. For non-multi-version objects, set version to 0.

delobj

obs_delete_object_info*

Yes

Specifies the number of objects to be deleted and the quiet mode.

put_properties

obs_put_properties*

No

Sets the verification properties of the object to be deleted.

handler

obs_delete_object_handler*

Yes

A callback structure where all members are pointers to callback functions, used to set the callback functions that handle response data. You can set a callback function to copy the response data from the server to your custom callback_data.

callback_data

void *

No

Custom callback data.