POST
/
sdk
/
{environmentId}
/
waas
/
{walletId}
/
keyShares
/
recover
Recover multiple keyShares
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/{walletId}/keyShares/recover \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "keyShareIds": [
    "95b11417-f18f-457f-8804-68e361f9164f"
  ]
}'
{
  "keyShares": [
    {
      "id": "95b11417-f18f-457f-8804-68e361f9164f",
      "backupLocation": "<string>",
      "passwordEncrypted": true,
      "encryptedAccountCredential": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

walletId
string
required

UUID of the wallet

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Body

application/json

Optional keyShareIds to recover. If not provided, all client keyShares for the wallet will be recovered.

The body is of type object.

Response

Recover keyShares Success

The response is of type object.