You can call the ListUserCustomLogConfig operation to query all custom log configurations under your account.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set this parameter to ListUserCustomLogConfig.

Response parameters

Parameter Type Description
RequestId String The ID of the request.
ConfigId String The ID of the log configuration.

Examples

Sample request

https://cdn.aliyuncs.com?Action=ListUserCustomLogConfig<Common request parameters>

Sample success response

JSON format

{
    "RequestId": "95D5B69F-8AEC-419B-8F3A-612B35032B0D",
    "ConfigIds": {
        "ConfigId": [
            "c3bb2c78-2915-4d5a-b6a1-557789255555",
            "25473b84-d598-498e-b148-f23d0a255555",
            "1f1e6c6e-6701-4193-ae4d-54bf3e555555",
            ...
        ]
    }
}

Error codes

Error code Error message HTTP status code Description
ConfgIds.NotFound You don't have any custom log config, please add first. 404 The error message returned because you have not defined any log configurations.