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

Body

application/json
enabled
boolean
required

Response

200 - application/json

Successful response

id
string
required
authorityMatrixId
string
required
enabledTime
string