- Walkthrough DASH SAAS
- CMS
- Employee
- Company
- Province
- Ref Education Level
- Industry
- Company
- Subscription
- Assesment Design
- Menu
- Admin Client
- Master Data
- Meeting
- Participant
- Open
- Assessor
- Report
- Batch
- External Link
- Dummy
- Interview TaskGET
- LoginPOST
- Get Company SettingGET
- WEB
- Open API Engauge
Save Role Menu
Developing
POST
/rest/admin/secured/role/role-menu/{roleId}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
roleId
string
required
Body Params application/json
object {0}
Example
{
"roleId": 2,
"menus": [
{
"menuId": 2
},
{
"menuId": 5
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://service-dash.dlabssaas.io/rest/admin/secured/role/role-menu/' \
--header 'Content-Type: application/json' \
--data-raw '{
"roleId": 2,
"menus":[
{
"menuId":2
},
{
"menuId":5
}
]
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}