curl --location --request POST 'https://api.flashcat.cloud/api/n9e-plus/datasource/upsert' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjdjMGM4YmQyLTExOTYtNDlmYS04YzY0LWE0NDE2ODQ4NTUzYSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc0OTg4ODQ4MCwidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9._S1Isb29viOhHyVrjbwIUjPZnNQXewmb4zftVeqbFpA' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "string",
"settings": {
"azure.tenantId": "string",
"azure.clientId": "string",
"azure.client_secret": "string",
"azure.cloud_name": "string"
},
"cluster_name": "string",
"description": "string",
"status": "string",
"category": "string",
"plugin_id": 0,
"plugin_type": "string",
"plugin_type_name": "string"
}'