delete-user-defined-log-fields-config
The delete-user-defined-log-fields-config command is used to delete the custom configurations of the user_defined_log_fields field from the real-time logs of a bucket.
Note
By default, an Alibaba Cloud account has the permissions to delete custom configurations for buckets. Deleting configurations as a RAM user or by using Security Token Service (STS) requires the oss:DeleteUserDefinedLogFieldsConfig permission. For more information, see Grant a custom policy.
Syntax
ossutil api delete-user-defined-log-fields-config --bucket value [flags]
|
Parameter |
Type |
Description |
|
--bucket |
string |
Name of the bucket. |
-
The delete-user-defined-log-fields-config command corresponds to the DeleteUserDefinedLogFieldsConfig operation. For more information about the parameters within, see DeleteUserDefinedLogFieldsConfig.
-
For more information about supported global command-line options, see Command-line options.
Example
Run the following command to delete the custom configurations of the user_defined_log_fields field from the real-time logs of examplebucket.
ossutil api delete-user-defined-log-fields-config --bucket examplebucket