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

Body

application/json
includeUsers
boolean
includeDepartments
boolean

Response

201 - application/json

Successful response

baseId
string
required
authorityMatrixRoleId
string
required