Skip to main content
POST
Link policy to role

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
roleid
integer

ID of the role

rolename
string

Name of the role

policyid
integer

ID of the policy

policyname
string

Name of the policy

request_metadata
object

Additional metadata for the request

Response

Policy linked to role successfully

status
string
Example:

"ok"

roleid
integer

Role ID