Create Role Request
POST/createEnterpriseRoleRequest
This API call can be used for creating a new role and assigning an owner to the role.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
roletype
- Use the roletype as "ENTERPRISE" to Create Enterprise Role Request. (supported roletypes - ENABLER/ TRANSACTIONAL/ FIREFIGHTER/ ENTERPRISE/ APPLICATION),
role_name
,
requestor
,
owner
1. ownerName
2. rank
<1 to 27>,
Optional params:
customproperty<1 to 60>
,
endpointname
,
defaulttimeframe
,
description
,
displayname
,
glossary
,
risk
,
level
,
soxcritical
,
syscritical
,
priviliged
,
confidentiality
,
requestable
,
showDynamicAttrs, checksod:
Set this parameter to evaluate Segregation of Duties (SOD) violations. By default, the parameter is set to false.
Request
Path Parameters
- application/json
Body
Responses
- 200
Create Role Request / Create Role Request with Role Properties
Response Headers
Access-Control-Allow-Credentials
string
Access-Control-Allow-Origin
string
Cache-Control
string
Date
string
Expires
string
Pragma
string
Referrer-Policy
string
Server
string
Set-Cookie
string
Strict-Transport-Security
string
Transfer-Encoding
string
X-Content-Type-Options
string
X-Frame-Options
string
X-XSS-Protection
string
- application/json
- Schema
- Example (from schema)
- Create Role Request
- Create Role Request with Role Properties
Schema
{
"errorCode": "0",
"message": "Role TestRoleEnt123 Sent For Approval and requestid is 3820001",
"requestid": "3820001",
"requestkey": "4135"
}
{
"errorCode": "0",
"message": "Role TestRoleEnt123 Sent For Approval and requestid is 3820001",
"requestid": "3820001",
"requestkey": "4135"
}
{
"errorCode": "0",
"message": "Role createEntRoleAPI101 Sent For Approval and requestid is 3820417",
"requestid": "3820417",
"requestkey": "4142"
}