Skip to main content
POST
cURL

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
name
string
必填
Minimum string length: 1
scopes
string[]
必填
Minimum array length: 1
expiredTime
string
必填
示例:

"2024-03-25"

description
string
spaceIds
string[] | null
Minimum array length: 1
baseIds
string[] | null
Minimum array length: 1
hasFullAccess
boolean

响应

201 - application/json

Returns access token.

id
string
必填
name
string
必填
Minimum string length: 1
scopes
string[]
必填
expiredTime
string
必填
token
string
必填
createdTime
string
必填
lastUsedTime
string
必填
description
string
spaceIds
string[] | null
baseIds
string[] | null
hasFullAccess
boolean
最后修改于 2026年3月5日