> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nonefivem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Storage Item

> Delete a single storage item by ID

Delete a specific storage item using its unique identifier.

## Authorization

<ParamField header="Authorization" type="string" required>
  Bearer token for authentication. Format: `Bearer <your-api-key>`
</ParamField>

## Required Permission

`STORAGE_WRITE`

## Path Parameters

<ParamField path="fileId" type="string" required>
  UUID of the file to delete
</ParamField>

## Response

<ResponseField name="message" type="string">
  Success message confirming deletion
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://api.nonefivem.com/cloud/storage/550e8400-e29b-41d4-a716-446655440000" \
    -H "Authorization: Bearer your-api-key"
  ```

  ```javascript JavaScript theme={null}
  const fileId = "550e8400-e29b-41d4-a716-446655440000";

  const response = await fetch(
    `https://api.nonefivem.com/cloud/storage/${fileId}`,
    {
      method: "DELETE",
      headers: {
        Authorization: "Bearer your-api-key"
      }
    }
  );
  const result = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "message": "Item deleted successfully"
  }
  ```
</ResponseExample>

<Warning>
  This action is irreversible. The file and its CDN URL will be permanently
  removed.
</Warning>

## Error Responses

<ResponseExample>
  ```json 404 Not Found theme={null}
  {
    "error": {
      "code": "NOT_FOUND",
      "message": "Storage item not found"
    }
  }
  ```
</ResponseExample>

<ResponseExample>
  ```json 400 Bad Request theme={null}
  {
    "error": {
      "code": "INVALID_UUID",
      "message": "Invalid file ID format"
    }
  }
  ```
</ResponseExample>
