全部產品
Search
文件中心

Object Storage Service:DeleteUserDefinedLogFieldsConfig

更新時間:May 23, 2025

DeleteUserDefinedLogFieldsConfig介面用於刪除儲存空間(Bucket)即時日誌中user_defined_log_fields欄位的個人化配置。

注意事項

如需調用DeleteUserDefinedLogFieldsConfig介面刪除儲存空間(Bucket)即時日誌中user_defined_log_fields欄位的個人化配置,您必須擁有oss:DeleteUserDefinedLogFieldsConfig許可權。具體操作,請參見為RAM使用者授予自訂的權限原則

請求文法

DELETE /?userDefinedLogFieldsConfig HTTP/1.1
Date: GMT Date
Content-Length:ContentLength
Content-Type: application/xml
Host: BucketName.oss.aliyuncs.com
Authorization: SignatureValue

要求標頭

此介面僅涉及公用要求標頭。更多資訊,請參見公用要求標頭(Common Request Headers)

回應標頭

此介面僅涉及公用回應標頭。更多資訊,請參見公用回應標頭(Common Response Headers)

樣本

請求樣本

DELETE /?userDefinedLogFieldsConfig HTTP/1.1
Date: GMT Date
Content-Length:ContentLength
Content-Type: application/xml
Host: BucketName.oss.aliyuncs.com
Authorization: SignatureValue

響應樣本

HTTP/1.1 204 OK
x-oss-request-id: 534B371674125A4D8906008B
Date: Date
Content-Length: 0
Connection: keep-alive
Server: AliyunOSS

SDK

此介面所對應的各語言SDK如下:

命令列工具ossutil

DeleteUserDefinedLogFieldsConfig介面所對應的ossutil命令,請參見delete-user-defined-log-fields-config