---
title: "Reshare secret shares and update the threshold"
method: POST
path: "/sdk/{environmentId}/waas/{walletId}/reshare"
tags: ["SDK"]
---

# Reshare secret shares and update the threshold

`POST /sdk/{environmentId}/waas/{walletId}/reshare`

## Path parameters

- `environmentId` string, required
- `walletId` string, required

## Request body

- ReshareRequest
  - `clientKeygenIds` NonEmptyBase58StringWith100MaxLength[], required
  - `oldThresholdSignatureScheme` 'TWO_OF_TWO' | 'TWO_OF_THREE' | 'THREE_OF_FIVE', required
  - `newThresholdSignatureScheme` 'TWO_OF_TWO' | 'TWO_OF_THREE' | 'THREE_OF_FIVE', required
  - `delegateToProjectEnvironment` boolean
  - `revokeDelegation` boolean

## Response `200`

Successfully created a room for reshare ceremony

- OpenRoomResponseForReshare
  - `roomId` string, required
  - `serverKeygenIds` NonEmptyBase58StringWith100MaxLength[], required
  - `newServerKeygenIds` NonEmptyBase58StringWith100MaxLength[], required
  - `walletId` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/versions/aac826315d90/schema)
