邀请码管理

创建邀请码

管理员创建新的邀请码

post/admin/invite-codes

Request

  • Base URL
    http://localhost:8888/api/v1
  • URL
    http://localhost:8888/api/v1/admin/invite-codes
  • Auth
    API key in header Authorization

Request body

codestring

自定义邀请码,如果为空则自动生成

countinteger required
expiresAtstring
lengthinteger

邀请码长度,仅在自动生成时有效

maxUsesinteger
remarkstring

Response

创建成功

codeinteger
dataunknown
messagestring
msgstring

Changes

No recorded changes to this operation across all 122 revisions of this API.