跳转到主要内容
PUT
/
base
/
{baseId}
/
authority-matrix
cURL
curl --request PUT \
  --url http://127.0.0.1:3000/api/base/{baseId}/authority-matrix \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "defaultRole": "<string>"
}
'
{
  "id": "<string>",
  "baseId": "<string>",
  "defaultRole": "<string>",
  "enabledTime": "<string>"
}

授权

Authorization
string
header
必填

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

路径参数

baseId
string
必填

请求体

application/json
defaultRole
string | null
必填

响应

200 - application/json

Successful response

id
string
必填
baseId
string
必填
defaultRole
string
enabledTime
string
Last modified on December 10, 2025