---
title: "UpdateParams defines a (governance) operation for updating the module
parameters. The authority defaults to the x/gov module account."
method: POST
path: "/pocket.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 /pocket.session.Msg/UpdateParams`

## Request body

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

## Response `200`

A successful response.

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

## Other responses

- `default` — An unexpected error response.

---

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