Skip to content

batch_delete_objects API endpoint not implemented? #823

Description

@bejgli

object_storage_client.batch_delete_objects API endpoint not implemented?
I'm using the code from the example: https://docs.oracle.com/en-us/iaas/tools/python-sdk-examples/2.165.1/objectstorage/batch_delete_objects.py.html
I'm getting this response. Is it possible that its not implemented on the API side?

{'target_service': 'object_storage', 'status': 501, 'code': 'NotImplemented', 'opc-request-id': 'xxx', 'message': 'Not Implemented', 'operation_name': 'batch_delete_objects', 'timestamp': '2026-01-28T15:16:10.374395+00:00', 'client_version': 'Oracle-PythonSDK/2.166.0', 'request_endpoint': 'POST https://objectstorage.eu-zurich-1.oraclecloud.com/n/xxxx/b/xxxx/actions/batchDeleteObjects'...

The error message suggests this document: https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/BatchDeleteObjects
which doesn't exist.

I'm getting similar results with the go sdk. That one never responds with this function call.

Activity

  1. mricken commented on Feb 10, 2026

    @mricken
    Member

    I'm asking the Object Storage service team for help.

  2. mricken commented on Feb 20, 2026

    @mricken
    Member

    @bejgli , can you please try again, and if it fails again, supply the opc-request-id? It needs to be no older than 48 hours when the Object Storage team investigates.

    For what it's worth, I used the OCI CLI to test this feature, and while I could not test in eu-zurich-1, it did work in us-phoenix-1.

    $ oci os object batch-delete --bucket-name objcs-1446-bucket-20260220-1431 --generate-param-json-input objects
    [
      {
        "ifMatch": "string",
        "objectName": "string"
      },
      {
        "ifMatch": "string",
        "objectName": "string"
      }
    ]
    
    $ oci os object batch-delete --bucket-name objcs-1446-bucket-20260220-1431 --objects '[{"objectName":"Screenshot 2026-02-20 at 2.29.33 PM.png"},{"objectName":"Screenshot 2026-02-20 at 2.30.34 PM.png"}]'
    {
      "data": {
        "deleted": [
          {
            "object-name": "Screenshot 2026-02-20 at 2.29.33 PM.png",
            "time-last-modified": "2026-02-20T22:36:07.132000+00:00"
          },
          {
            "object-name": "Screenshot 2026-02-20 at 2.30.34 PM.png",
            "time-last-modified": "2026-02-20T22:36:07.132000+00:00"
          }
        ],
        "failed": []
      }
    }
    
    $ oci --version
    3.74.1
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Object StorageIssue pertains to the Object Storage service

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions