---
updatedAt: 2026-05-24T08:09:45.000Z
agentTools:
  projectIndex: https://finp2p-docs.ownera.io/llms.txt
---

# Update approvals config

Updates the approvals configuration for the router. Allows partial updates to approvers per router category (tokenization, payments, investor, custodian).

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Operational API",
    "description": "This is the operational API reference for adapter development.",
    "termsOfService": "https://ownera.io/terms/",
    "contact": {
      "email": "support@ownera.io"
    },
    "version": "0.28"
  },
  "tags": [
    {
      "name": "execution",
      "description": "Execution plan related operational APIs"
    }
  ],
  "paths": {
    "/execution/approvalsConfig": {
      "patch": {
        "tags": [
          "execution"
        ],
        "summary": "Update approvals config",
        "description": "Updates the approvals configuration for the router. Allows partial updates to approvers per router category (tokenization, payments, investor, custodian).",
        "operationId": "updateApprovalsConfig",
        "requestBody": {
          "content": {
            "application/json": {
              "examples": {
                "update-example-1": {
                  "summary": "disable http-endpoint-1, change proposals of ledger-approver-1 and delete payments config",
                  "value": {
                    "tokenization": {
                      "http-endpoint-1": {
                        "config_type": "http",
                        "disabled": true
                      },
                      "ledger-approver-1": {
                        "config_type": "ledger",
                        "proposals": [
                          "cancel"
                        ]
                      }
                    },
                    "payments": null
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/approvalConfigUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Configuration updated successfully"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIErrors"
                },
                "example": {
                  "errors": [
                    {
                      "code": 1002,
                      "message": "Invalid request format"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIErrors"
                },
                "example": {
                  "errors": [
                    {
                      "code": 2202,
                      "message": "Internal service failure"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "approvalConfigUpdate": {
        "type": "object",
        "minProperties": 1,
        "properties": {
          "tokenization": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/nullableRoleApprovalConfigUpdate"
              }
            ],
            "nullable": true,
            "x-go-type-skip-optional-pointer": true,
            "x-go-type": "model.Nullable[NullableRoleApprovalConfigUpdate]",
            "x-go-type-import": {
              "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
              "name": "model"
            }
          },
          "payments": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/nullableRoleApprovalConfigUpdate"
              }
            ],
            "nullable": true,
            "x-go-type-skip-optional-pointer": true,
            "x-go-type": "model.Nullable[NullableRoleApprovalConfigUpdate]",
            "x-go-type-import": {
              "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
              "name": "model"
            }
          },
          "investor": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/nullableRoleApprovalConfigUpdate"
              }
            ],
            "nullable": true,
            "x-go-type-skip-optional-pointer": true,
            "x-go-type": "model.Nullable[NullableRoleApprovalConfigUpdate]",
            "x-go-type-import": {
              "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
              "name": "model"
            }
          },
          "custodian": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/nullableRoleApprovalConfigUpdate"
              }
            ],
            "nullable": true,
            "x-go-type-skip-optional-pointer": true,
            "x-go-type": "model.Nullable[NullableRoleApprovalConfigUpdate]",
            "x-go-type-import": {
              "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
              "name": "model"
            }
          }
        }
      },
      "proposalsApprovalConfigUpdate": {
        "nullable": true,
        "x-go-type-skip-optional-pointer": true,
        "x-go-type": "model.Nullable[[]string]",
        "x-go-type-import": {
          "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
          "name": "model"
        },
        "type": "array",
        "uniqueItems": true,
        "items": {
          "type": "string",
          "enum": [
            "reset",
            "cancel",
            "instruction",
            "plan"
          ]
        }
      },
      "nullableRoleApprovalConfigUpdate": {
        "type": "object",
        "nullable": true,
        "additionalProperties": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/roleApprovalConfigUpdate"
            }
          ],
          "nullable": true,
          "x-go-type-skip-optional-pointer": true,
          "x-go-type": "RoleApprovalConfigUpdate",
          "x-go-type-import": {
            "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
            "name": "model"
          }
        }
      },
      "roleApprovalConfigUpdate": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/ledgerRoleApprovalConfigUpdate"
          },
          {
            "$ref": "#/components/schemas/httpEndpointRoleApprovalConfigUpdate"
          }
        ],
        "discriminator": {
          "propertyName": "config_type",
          "mapping": {
            "ledger": "#/components/schemas/ledgerRoleApprovalConfigUpdate",
            "http": "#/components/schemas/httpEndpointRoleApprovalConfigUpdate"
          }
        }
      },
      "ledgerRoleApprovalConfigUpdate": {
        "type": "object",
        "required": [
          "config_type"
        ],
        "minProperties": 2,
        "properties": {
          "config_type": {
            "type": "string",
            "enum": [
              "ledger"
            ]
          },
          "disabled": {
            "nullable": true,
            "x-go-type-skip-optional-pointer": true,
            "x-go-type": "model.Nullable[bool]",
            "x-go-type-import": {
              "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
              "name": "model"
            },
            "type": "boolean"
          },
          "name": {
            "nullable": true,
            "x-go-type-skip-optional-pointer": true,
            "x-go-type": "model.Nullable[string]",
            "x-go-type-import": {
              "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
              "name": "model"
            },
            "type": "string",
            "minLength": 1
          },
          "proposals": {
            "$ref": "#/components/schemas/proposalsApprovalConfigUpdate"
          }
        }
      },
      "httpEndpointRoleApprovalConfigUpdate": {
        "type": "object",
        "required": [
          "config_type"
        ],
        "minProperties": 2,
        "properties": {
          "config_type": {
            "type": "string",
            "enum": [
              "http"
            ]
          },
          "disabled": {
            "nullable": true,
            "x-go-type-skip-optional-pointer": true,
            "x-go-type": "model.Nullable[bool]",
            "x-go-type-import": {
              "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
              "name": "model"
            },
            "type": "boolean"
          },
          "endpoint": {
            "nullable": true,
            "x-go-type-skip-optional-pointer": true,
            "x-go-type": "model.Nullable[string]",
            "x-go-type-import": {
              "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
              "name": "model"
            },
            "type": "string",
            "format": "address"
          },
          "timeout": {
            "nullable": true,
            "x-go-type-skip-optional-pointer": true,
            "x-go-type": "model.Nullable[string]",
            "x-go-type-import": {
              "path": "github.com/owneraio/finp2p-core/apis/finapi/internal/api/common",
              "name": "model"
            },
            "type": "string",
            "format": "duration",
            "pattern": "^\\d+(\\.\\d{1,9})?s$"
          },
          "proposals": {
            "$ref": "#/components/schemas/proposalsApprovalConfigUpdate"
          }
        }
      },
      "APIError": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "description": "Error code indicating the specific failure - for more information see [API Errors](./api-error-codes-reference).\n"
          },
          "message": {
            "type": "string",
            "description": "A descriptive message providing context about the error.",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          }
        }
      },
      "APIErrors": {
        "type": "object",
        "required": [
          "errors"
        ],
        "properties": {
          "errors": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/APIError"
            }
          }
        }
      }
    }
  }
}
```