# Update allocation plan Update allocation plan by client and allocation plan ID Endpoint: PATCH /v2/partner/client/{client_id}/allocationplan/{allocation_plan_id} Version: 2.0.0 Security: oAuth ## Path parameters: - `client_id` (string, required) The ID of requested client. Example: "49ad7378-121c-4a53-9894-dfd14a7b4877" - `allocation_plan_id` (string, required) The ID of requested allocation plan. Example: "49ad7378-121c-4a53-9894-dfd14a7b4877" ## Request fields (application/json): - `bankAccount` (string,null) ID of bank account with autogiro mandate ## Response 200 fields (application/json): - `id` (string, required) UUID (Universally Unique Identifier) Example: "49ad7378-121c-4a53-9894-dfd14a7b4877" - `account` (string, required) UUID (Universally Unique Identifier) Example: "49ad7378-121c-4a53-9894-dfd14a7b4877" - `bankAccount` (string, required) UUID (Universally Unique Identifier) Example: "49ad7378-121c-4a53-9894-dfd14a7b4877" - `instruments` (array, required) Instrument allocations. The sum of all allocations must be exactly 100. - `instruments.instrument` (string, required) ID of instrument Example: "SE0000810798SEK" - `instruments.allocation` (number, required) Allocation in percent for this instrument Example: 100 ## Response 400 fields (application/json): - `error` (string, required) Error code Enum: "invalid_request" - `error_description` (string) Description of error ## Response 401 fields (application/json): - `error` (string, required) Error code Enum: "unauthorized" - `error_description` (string) Description of error ## Response 403 fields (application/json): - `error` (string, required) Error code Enum: "forbidden" - `error_description` (string) Description of error ## Response 500 fields (application/json): - `error` (string, required) Error code Enum: "server_error" - `error_description` (string) Description of error ## Response 503 fields (application/json): - `error` (string, required) Error code Enum: "service_unavailable" - `error_description` (string) Description of error