---
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.

## Changes

> 52 revisions in range; 30 could not be searched.

- **2023-11-01** `3f51f9b9a127` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/pocket.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/1fc29453a1ef/schema)
