Delete Objects
POST/v1/storages/delete-objects
Batch delete objects.
Request
- application/json
Body
arrayrequired
Delete object request parameters in array format
- Array [
- ]
cloudObjectId Cloud object ID (string)
Responses
- 200
- default
Returned on successful call
Response Headers
X-Request-Id string
Request ID
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- v1DeleteObjectsResponseItemSuccess
- v1DeleteObjectsResponseItemError
- ]
oneOf
cloudObjectId Cloud object ID (string)
code Error code returned when the request for this object fails (string)
message Error description returned when the request for this object fails (string)
cloudObjectId Cloud object ID for this request operation (string)
[
{
"cloudObjectId": "cloud://your-envId.bucket/not-exist",
"code": "OBJECT_NOT_EXIST",
"message": "Storage object not exists."
},
{
"cloudObjectId": "cloud://your-envId.bucket/file.jpg"
}
]
Common error information, see https://docs.cloudbase.net/error-code/service for details
Response Headers
X-Request-Id string
Request ID
- application/json
- Schema
- Example (from schema)
- InvalidHost
Schema
code Error code (string)
message Error message (string)
requestId Request ID (string)
{
"code": "string",
"message": "string",
"requestId": "string"
}
Invalid request address
{
"code": "INVALID_HOST",
"message": "xxx",
"requestId": "xxx"
}
Loading...