curl --location --request PUT 'https://api.flashcat.cloud/api/n9e/message-template/' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjdjMGM4YmQyLTExOTYtNDlmYS04YzY0LWE0NDE2ODQ4NTUzYSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc0OTg4ODQ4MCwidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9._S1Isb29viOhHyVrjbwIUjPZnNQXewmb4zftVeqbFpA' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "FeiShu Registration Template",
"ident": "feishu_registration_template",
"content": {
"subject": "Welcome to our service, {{username}}!",
"body": "Hi {{username}}, your verification code is {{verification_code}}. Please use it to complete your registration."
},
"user_group_ids": [2],
"notify_channel_id": 1
}'