Skip to main content
POST
Create Access Role

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
roleName
string
required
Example:

"Manager"

roleData
object[]

Route-wise access configuration defining the permission level granted to this role.

Response

Page-level access permissions have been successfully assigned to the role.

success
boolean
Example:

true

statusCode
integer
Example:

200

statusMessage
string
Example:

"Page-level access permissions have been successfully assigned to the role."

error
object | null
Example:

null

data
object