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

Authorizations

Authorization
string
header
required

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

Path Parameters

baseId
string
required

Body

application/json
enabled
boolean
required

Response

200 - application/json

Successful response

id
string
required
enabledTime
string