curl --location --request POST 'https://api.flashcat.cloud/api/n9e-plus/datasource-label-mapping' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ds_id": 0,
"ds_cate": "string",
"label_mapping": [
{
"label_mapping_id": 0,
"label_mapping_name": "string",
"label_source_type": "string",
"label_source_config": {
"cloudwatch": {
"resource_type": "string",
"namespace": "string"
}
},
"source_keys": [
{
"source_key": "string",
"target_key": "string"
}
],
"append_keys": [
{
"source_key": "string",
"rename_key": true,
"target_key": "string"
}
]
}
]
}'