curl --location 'https://api.flashcat.cloud/custom-menu/upsert' \
--header 'Flashcat-Context: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"parent_key": "__root__",
"slot_after_key": "/incident",
"rank": "h",
"label": {
"zh_CN": "BI 看板",
"en_US": "BI Dashboard"
},
"icon": "chart",
"mode": "iframe",
"url": "https://bi.example.com/embed",
"role_ids": [
102,
103
]
}'{
"menu_id": 0,
"permission_key": "customMenu:visit:8123412309128"
}