---
updatedAt: 2026-06-23T11:28:20.000Z
agentTools:
  projectIndex: https://finp2p-docs.ownera.io/llms.txt
---

# Set approvals config

Deprecated. Use /execution/approvalsConfig. Sets the approvals configuration for the router. Defines which approvers are required for each 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/proposals": {
      "put": {
        "deprecated": true,
        "tags": [
          "execution"
        ],
        "summary": "Set approvals config",
        "description": "Deprecated. Use /execution/approvalsConfig. Sets the approvals configuration for the router. Defines which approvers are required for each router category (tokenization, payments, investor, custodian).",
        "operationId": "setProposalsConfig",
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "tokenization": {
                  "http-endpoint-1": {
                    "config_type": "http",
                    "endpoint": "http://approver-service.internal/approvals",
                    "timeout": "45s",
                    "proposals": [
                      "reset",
                      "cancel",
                      "instruction"
                    ]
                  },
                  "ledger-approver-1": {
                    "config_type": "ledger",
                    "name": "ledger-approver-1",
                    "proposals": [
                      "reset",
                      "instruction"
                    ]
                  }
                },
                "payments": {
                  "ledger-approver-2": {
                    "config_type": "ledger",
                    "name": "payments-ledger-approver",
                    "proposals": [
                      "instruction"
                    ]
                  }
                }
              },
              "schema": {
                "$ref": "#/components/schemas/approvalConfig"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created the new configuration 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": {
      "approvalConfig": {
        "type": "object",
        "minProperties": 1,
        "properties": {
          "tokenization": {
            "$ref": "#/components/schemas/roleApprovalConfig"
          },
          "payments": {
            "$ref": "#/components/schemas/roleApprovalConfig"
          },
          "investor": {
            "$ref": "#/components/schemas/roleApprovalConfig"
          },
          "custodian": {
            "$ref": "#/components/schemas/roleApprovalConfig"
          }
        }
      },
      "proposalsApprovalConfig": {
        "type": "array",
        "uniqueItems": true,
        "items": {
          "type": "string",
          "enum": [
            "reset",
            "cancel",
            "instruction",
            "plan"
          ]
        }
      },
      "roleApprovalConfig": {
        "type": "object",
        "additionalProperties": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ledgerRoleApprovalConfig"
            },
            {
              "$ref": "#/components/schemas/httpEndpointRoleApprovalConfig"
            }
          ],
          "discriminator": {
            "propertyName": "config_type",
            "mapping": {
              "ledger": "#/components/schemas/ledgerRoleApprovalConfig",
              "http": "#/components/schemas/httpEndpointRoleApprovalConfig"
            }
          }
        }
      },
      "ledgerRoleApprovalConfig": {
        "type": "object",
        "required": [
          "config_type",
          "name"
        ],
        "properties": {
          "config_type": {
            "type": "string",
            "enum": [
              "ledger"
            ]
          },
          "disabled": {
            "type": "boolean",
            "default": false
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "proposals": {
            "$ref": "#/components/schemas/proposalsApprovalConfig"
          }
        }
      },
      "httpEndpointRoleApprovalConfig": {
        "type": "object",
        "required": [
          "config_type",
          "endpoint"
        ],
        "properties": {
          "config_type": {
            "type": "string",
            "enum": [
              "http"
            ]
          },
          "disabled": {
            "type": "boolean",
            "default": false
          },
          "endpoint": {
            "type": "string",
            "format": "address",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          },
          "timeout": {
            "type": "string",
            "format": "duration",
            "description": "Approver timeout in Go duration format (e.g. `90s`, `1m30s`, `1h`). Values are normalized on write, so the value read back may differ from what was written (e.g. `90s` may be returned as `1m30s`).\n",
            "minLength": 1,
            "pattern": "^(\\d+h)?(\\d+m)?(\\d+(\\.\\d{1,9})?s)?$"
          },
          "proposals": {
            "$ref": "#/components/schemas/proposalsApprovalConfig"
          }
        }
      },
      "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"
            }
          }
        }
      }
    }
  }
}
```