Get /policy/role-mapping/supporting-info
Description
Retrieves information necessary to create or modify a role mapping, such as Roles, Port and Device Groups, and CLI configurations.
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiNAC |
Content-Type (option 1) | application/json | String | |
Content-Type (option 2) |
application/xml |
|
|
Sample Request
Request URL |
Get https://10.106.94.152:8443/api/v2/policy/role-mapping/supporting-info |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Sample Response
{
"status": "success",
"errorMessage": null,
"roles": [
{
"dbid": 1,
"rank": 1,
"version": 0,
"lastModifiedBy": "SYSTEM",
"lastModifiedDate": "2023-08-25T17:40:28.000+0000",
"name": "GuestSelfRegistration",
"note": null,
"guid": null,
"globalModifiedDate": "2023-08-25T17:40:28.000+0000",
"auditObjectName": "GuestSelfRegistration",
"auditObjectType": {
"auditTableName": "RoleAudit",
"mysqlTableName": "Role",
"idnameQuery": "select ID,NAME from Role where ID in"
},
"auditObj": null,
"groupNames": [],
"yamsEventTag": "ROLE_MODIFICATION",
"groupIDs": []
}
],
"groups": [
{
"name": "Access Point Management",
"id": 1
}
],
"logicalNetworks": [],
"clis": []
}