Skip to main content
Version: 1.2.2

Admin - Add a new external policy rule

POST 

/admin/policies/add-external-rule

Add a new policy Rule to the system. A policy rule is a rule that is checked by an external service using REST API. The external service must be reachable by the Vertex. The external service must return a signed JWT with a schema specified in the Sodot technical docs.

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the Admin token. which is set on Vertex setup

Body

required

    jwt_alg stringrequired
    name stringrequired
    pubkey stringrequired
    url urirequired

Responses

Schema

    rule_id RuleIdrequired
Loading...