def delete(bucket, path=None, action=None, key=None, keyid=None,
           service_url=None, verify_ssl=None, kms_keyid=None, location=None,
           role_arn=None):
    key, keyid, service_url, verify_ssl, kms_keyid, location, role_arn = _get_key(
        key,
        keyid,
        service_url,
        verify_ssl,
        kms_keyid,
        location,
        role_arn,
    )

    return salt.utils.s3.query(method='DELETE',
                               bucket=bucket,
                               path=path,
                               action=action,
                               key=key,
                               keyid=keyid,
                               kms_keyid=kms_keyid,
                               service_url=service_url,
                               verify_ssl=verify_ssl,
                               location=location,
                               role_arn=role_arn)
Delete a bucket, or delete an object from a bucket.
dataset/ETHPy150Open saltstack/salt/salt/modules/s3.py/delete