Skip to main content
POST
Create a new role

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
rolename
string
required

Name of the role

roledesc
string

Description of the role

request_metadata
object

Additional metadata for the request

Response

Role created successfully

status
string
Example:

"ok"

roleid
integer

ID of the created role