---
title: "UpdateParams defines a (governance) operation for updating the module parameters. The authority defaults to the x/gov module account."
method: POST
path: "/poktroll.session.Msg/UpdateParams"
tags: ["Msg"]
---

# UpdateParams defines a (governance) operation for updating the module parameters. The authority defaults to the x/gov module account.

`POST /poktroll.session.Msg/UpdateParams`

## Request body

- PoktrollSessionMsgUpdateParams — MsgUpdateParams is the Msg/UpdateParams request type.
  - `authority` string — authority is the address that controls the module (defaults to x/gov unless overwritten).
  - `params` PoktrollSessionParams — Params defines the parameters for the module.
    - `num_suppliers_per_session` string, uint64 — num_suppliers_per_session is the maximun number of suppliers per session (applicaiton:supplier pair for a given session number).

## Response `200`

A successful response.

- PoktrollSessionMsgUpdateParamsResponse — MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-02-05** `de0653d8a73d` — 1 info
  - api operation id `GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin26` removed and replaced with `GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin28`
- **2024-08-29** `29f6671190b2` — 1 info
  - api operation id `GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin30` removed and replaced with `GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin26`
- **2024-08-14** `21c607e4fa20` — 1 info
  - api operation id `PoktrollSessionMsg_UpdateParams` removed and replaced with `GithubCompoktNetworkpoktrollMsg_UpdateParamsMixin30`
- **2024-02-23** `54713b4a9d25` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/poktroll.session.Msg/UpdateParams/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokt-network/http-api-console/revisions/de0653d8a73d/schema)
