storage / Client / delete_multiple_objects

delete_multiple_objects

storage.Client.delete_multiple_objects(**kwargs)

複数のオブジェクトを削除します。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.delete_multiple_objects(
    Bucket='string',
    ContentMd5='string',
    Delete={
        'ListOfRequestObject': [
            {
                'Key': 'string',
                'Quiet': True|False,
                'VersionId': 'string'
            },
        ]
    }
)
Parameters:
  • Bucket (string) – [REQUIRED]

  • ContentMd5 (string) – [REQUIRED]

  • Delete (dict) –

    [REQUIRED]

    • ListOfRequestObject (list) – [REQUIRED]

      • (dict) –

        • Key (string) – [REQUIRED]

        • Quiet (boolean) –

        • VersionId (string) –

Return type:

dict

Returns:

Response Syntax

{
    'ContentType': 'string',
    'Deleted': [
        {
            'Key': 'string',
            'VersionId': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • ContentType (string) –

    • Deleted (list) –

      • (dict) –

        • Key (string) –

        • VersionId (string) –