Create Role
Request
URI
POST
https://{api_host}/tcsa.host.com/api/usrmgmt/v1/roles
COPY
Request Body
VSARole of type(s) application/json
Required
{
"roleName": "test",
"roleDesc": "test",
"policyRef": "default_wo_filter",
"userGroup": "final-test",
"creationTime": 1708506074784,
"updateTime": 1708679996263,
"uiPermission": [
"OP_UI_CONSOLE_NOTIF_LOG",
"OP_UI_CONSOLE_NOTIF_SUMMARY",
"OP_UI_CONSOLE_NOTIF_TOPO_MAP",
"OP_UI_CONSOLE_NOTIF_TOPO_EXP",
"OP_UI_CONSOLE_TASKS",
"OP_UI_ADMIN_POLICY",
"OP_UI_ADMIN_ROLE",
"OP_UI_ADMIN_SHARED_VIEWS",
"OP_UI_ADMIN_USER_FEDERATION_UI",
"OP_UI_ADMIN_COLLECTORS_CONNECTORS",
"OP_UI_ADMIN_CREDENTIALS",
"OP_UI_ADMIN_SMARTS_CREDENTIALS",
"OP_UI_ADMIN_KAFKA_MAPPER",
"OP_UI_ADMIN_DATA_MODEL_CATALOG_UI",
"OP_UI_ADMIN_HEALTH_DASHBOARD",
"OP_UI_ADMIN_KPI",
"OP_UI_ADMIN_ENRICHMENT",
"OP_UI_ADMIN_ALERTS",
"OP_UI_ADMIN_ANALYTICS",
"OP_UI_ADMIN_REMEDIATION_POLICY",
"OP_UI_ADMIN_REMEDIATION_ACTION",
"OP_UI_ADMIN_BUNDLE",
"OP_UI_ADMIN_LOG_MANAGER",
"OP_UI_ADMIN_SERVICE_LOG",
"OP_UI_ADMIN_SMARTS_LOG",
"OP_ACTION_ACK",
"OP_ACTION_UNACK",
"OP_ACTION_TAKE_OWNER",
"OP_ACTION_RELEASE_OWNER",
"OP_ACTION_SERVER_TOOLS",
"OP_REMEDIATION_ACTION",
"OP_REMEDIATION_RULE",
"OP_UI_CONSOLE_CONTAINMENT",
"OP_UI_CONSOLE_DM_BROWSE",
"OP_UI_CONSOLE_AUDIT_LOG",
"PERFORMANCE_UI_VIEW",
"PERFORMANCE_UI_EDIT"
],
"extUGRef": null
}
string
roleName
Optional
Name of the role.
string
roleDesc
Optional
Detailed description of role
string
policyRef
Optional
Name of the policy that will be applied to Role.
string
userGroup
Optional
The name of the user-group, user wants to assign the Role.
integer As int64 As int64
creationTime
Optional
creationTime
integer As int64 As int64
updateTime
Optional
updateTime
array of string
uiPermission
Optional
An array of permissions for the Role.
Responses
201
OK
Operation doesn't return any data structure