"scope": "license" 字段。-1 未启用 并不能阻止用户继续使用石墨 SDK,比如用户打开的石墨 SDK 页面并没有关闭,signature 和 token 仍有效,即使设置为 -1 未启用,只要用户未关闭的页面发起了请求(例如编辑、评论),状态也会被自动设置为 1 激活。{
"userIds": [
"1",
"2"
],
"status": 1
}curl --location '/sdk/v2/api/license/users/set-status' \
--header 'X-Shimo-Signature: {{signature}}' \
--header 'X-Shimo-Token: {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"userIds": [
"1",
"2"
],
"status": 1
}'