DeleteContainer
    • PDF

    DeleteContainer

    • PDF

    Article summary

    Available in Classic and VPC

    Delete containers (buckets) with no data.

    Note

    Sub accounts can use it through the external API Gateway dedicated to sub accounts.
    For more information, see the DeleteContainer API of Sub Account.

    Requests

    The following describes the request format for the endpoint. The request format is as follows.

    MethodURI
    DELETE/v1/AUTH_{project_id}/{container}

    Request headers

    For headers common to all Archive Storage APIs, see Archive Storage common headers.

    Request path parameters

    The following describes the parameters.

    FieldTypeRequiredDescription
    project_idStringRequiredProject ID
    containerStringRequiredName of the container (bucket) to set or edit

    Request example

    The following is a sample request.

    curl -X DELETE "https://kr.archive.ncloudstorage.com/v1/AUTH_{project_id}/{container}" 
    -H "X-Auth-Token: $token"
    

    Responses

    The following describes the response format.

    Response headers

    For response headers common to all Archive Storage APIs, see Archive Storage common response headers.

    Response example

    The following is a sample response.

    HTTP/1.1 204 No Content
    Content-Length: 0
    Content-Type: text/html; charset=UTF-8
    X-Trans-Id: tx762d33b115e748a29fb6e-005b98975b
    X-Openstack-Request-Id: tx762d33b115e748a29fb6e-005b98975b
    Date: Wed, 12 Sep 2018 04:34:35 GMT
    

    Was this article helpful?

    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.