跳转到主要内容
POST
/
interface
/
group-rename
重命名组
curl --request POST \
  --url https://powertokens.ai/api/interface/group-rename \
  --header 'Content-Type: application/json' \
  --data '
{
  "group_id": "group-20260604102314-bnz4j",
  "group_name": "hua20128",
  "email": "hua20128@gmail.com",
  "login_style": "google"
}
'
{
  "code": 200,
  "data": null,
  "msg": ""
}

请求体

application/json
group_id
string
必填

组ID

group_name
string
必填

组名称

email
string
必填

邮箱

login_style
string
必填

登录方式 google与github

响应

200 - application/json
code
integer
必填
data
null
必填
msg
string
必填