Skip to main content
POST
/
sdk
/
{environmentId}
/
waas
/
{walletId}
/
keyShares
/
backup
/
locations
Create backup action and event for multiple locations without performing actual backup
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/waas/{walletId}/keyShares/backup/locations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "locations": [
    {
      "location": "googleDrive",
      "keygenId": "An example name",
      "thresholdSignatureScheme": "TWO_OF_TWO",
      "externalKeyShareId": "An example name"
    }
  ]
}
'
{
  "message": "<string>",
  "walletId": "95b11417-f18f-457f-8804-68e361f9164f",
  "locationsWithKeyShares": [
    {
      "location": "googleDrive",
      "keyShareId": "95b11417-f18f-457f-8804-68e361f9164f",
      "externalKeyShareId": "95b11417-f18f-457f-8804-68e361f9164f"
    }
  ]
}

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

Backup locations request

locations
object[]
required

Response

Backup action and event created successfully

message
string
required
walletId
string
required
Required string length: 36
Example:

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

locationsWithKeyShares
object[]
required