DeleteMultipleObjects
    • PDF

    DeleteMultipleObjects

    • PDF

    기사 요약

    개요

    버킷 및 해당 파라미터 경로가 지정된 POST 요청을 보내면 지정된 오브젝트 집합을 삭제합니다. x-amz-content-sha256 헤더에 추가로 Content-MD5 헤더가 있어야 합니다. 오퍼레이션에 사용되는 파라미터, 페이로드는 없습니다.

    구문

    POST https://{endpoint}/{bucket-name}/?delete= # path style
    POST https://{bucket-name}.{endpoint}/?delete= # virtual host style
    

    예시

    요청 예시

    POST /example?delete= HTTP/1.1
    Authorization: {authorization-string}
    Host: kr.object.gov-ncloudstorage.com
    x-amz-date: 20161205T231624Z
    x-amz-content-sha256: 3ade096cd9471017539ede10c4d8aa05a1ecd015a16f4f090e9fcee92a816cf4
    Content-MD5: zhi+TmIAhD2U3GfoYayyTQ==
    Content-Type: text/plain; charset=utf-8
    
    <?xml version="1.0" encoding="UTF-8"?>
    <Delete>
        <Object>
             <Key>surplus-bee</Key>
        </Object>
        <Object>
             <Key>unnecessary-bee</Key>
        </Object>
    </Delete>
    

    응답 예시

    HTTP/1.1 200 OK
    Date: Wed, 30 Nov 2016 18:54:53 GMT
    Accept-Ranges: bytes
    x-amz-request-id: a6232735-c3b7-4c13-a7b2-cd40c4728d51
    Content-Type: application/xml
    Content-Length: 207
    
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <DeleteResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
        <Deleted>
             <Key>surplus-bee</Key>
        </Deleted>
        <Deleted>
             <Key>unnecessary-bee</Key>
        </Deleted>
    </DeleteResult>
    

    이 문서가 도움이 되었습니까?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.