--- title: "DeleteObject" slug: "ncloudstorage-deleteobject" updated: 2026-09-17T10:12:27Z published: 2026-09-17T10:12:27Z canonical: "api.ncloud-docs.com/ncloudstorage-deleteobject" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # DeleteObject Available in Classic and VPC Delete an object stored in a Ncloud Storage bucket. Note When deleting objects from a bucket with version control enabled, see the following: - Delete without specifying version ID: The object is not deleted, but a deletion marker is added. After the deletion marker is added, the object is not displayed when the ListObjectsV2 API is called, and a response error is returned when the GetObject API is called. - Delete with version ID specified: The object version is permanently deleted. - Delete with specifying version ID of deletion marker: The deletion marker is removed, and the previous version of the object is displayed again and functions as the current object. ## Request This section describes the request format. The method and URI are as follows: | Method | URI | | --- | --- | | DELETE | /{Key} | ### Request headers The following describes the request headers. Note For information about the headers common to all Ncloud Storage APIs, see [Ncloud Storage request headers](/docs/en/storage-ncloudstorage#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94). | Field | Required | Description | | --- | --- | --- | | `x-amz-bypass-governance-retention` | Optional | Whether to bypass GOVERNANCE mode retention - Delete the object version for which GOVERNANCE retention is enabled when set to `true`. - Separate bypass permission is required. | ### Request path parameters You can use the following path parameters with your request: | Field | Type | Required | Description | | --- | --- | --- | --- | | `Key` | String | Required | Object name - See [ListObjectsV2](/docs/en/ncloudstorage-listobjectsv2). | ### Request query parameters You can use the following query parameters with your request: | Field | Type | Required | Description | | --- | --- | --- | --- | | `versionId` | String | Optional | Object version ID - See [ListObjectVersions](/docs/en/ncloudstorage-listobjectversions). - Enter when permanently deleting a specific version of an object from a bucket with version control enabled. | ### Request example The request example is as follows: ``` DELETE /object.csv HTTP/1.1 Host: bucket.kr.ncloudstorage.com ``` ## Response This section describes the response format. ### Response headers For information about the headers common to all Ncloud Storage APIs, see [Ncloud Storage response headers](/docs/en/storage-ncloudstorage#%EC%9D%91%EB%8B%B5%ED%97%A4%EB%8D%94). ### Response status codes For information about the HTTP status codes common to all Ncloud Storage APIs, see [Common Ncloud Storage response status codes](/docs/en/storage-ncloudstorage#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C). ### Response example The response example is as follows: #### If bucket has no version control enabled The following is a sample response when the bucket has no version control enabled. ``` HTTP/1.1 204 No Content ``` #### If bucket has version control enabled The following is a sample response when the bucket has version control enabled. ``` HTTP/1.1 204 No Content x-amz-delete-marker: "true" ```