Reference / Governance

create a separation-of-duties policy.

POST /v1/sod-policies
Secret API key operationId: create_sod_policy

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Request body · required

  • enforced boolean
  • name string required
  • role_a string required
  • role_b string required

Responses

201 Created
422 Invalid

Request

curl -X POST "http://localhost:8080/v1/sod-policies" \
  -H "Content-Type: application/json" \
  -d '{
  "enforced": false,
  "name": "string",
  "role_a": "string",
  "role_b": "string"
}'

Try it

live request
POST http://localhost:8080/v1/sod-policies

Request body

application/json