Skip to main content
POST
Update a policy

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
policyid
integer
required

ID of the policy to update

policyname
string

New name of the policy

policydesc
string

New description of the policy

policy
object

Updated policy definition

request_metadata
object

Additional metadata for the request

Response

Policy updated successfully

status
string
Example:

"ok"

policyid
integer

Policy ID

policyname
string

Policy name