Authorization: Bearer ********************{
"strategy": "wechat:pc",
"display_name": "微信PC登录",
"enabled_clients": [
"23joifjoiejoiwjoj3n2o",
"32jfifjoiejoiwjoj3n2o"
],
"options": {
"app_key":"fjiefoe",
"app_secret":"fijejowjo32j2"
},
"metadata": {}
}curl --location -g --request PATCH 'https://..authok.cn/api/v1/connections/con_FEjo2nfowjwFe2' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"strategy": "wechat:pc",
"display_name": "微信PC登录",
"enabled_clients": [
"23joifjoiejoiwjoj3n2o",
"32jfifjoiejoiwjoj3n2o"
],
"options": {
"app_key":"fjiefoe",
"app_secret":"fijejowjo32j2"
},
"metadata": {}
}'{
"id": "con_jfi3jo2jfojojfje23",
"name": "wechat:pc",
"strategy": "wechat:pc",
"display_name": "微信PC登录",
"options": {
"app_key": "fjiefoe",
"app_secret": "fijejowjo32j2"
},
"metadata": {},
"enabled_clients": [
"23joifjoiejoiwjoj3n2o",
"32jfifjoiejoiwjoj3n2o"
]
}