v2
latestOpenAPI 3.0.12026-07-26334612609.5 KBWaas
Create backup action for key shares using API token authentication
Creates backup locations for wallet key shares. Requires API token authentication. Validates that the user belongs to the environment and that no client key shares exist for the wallet. This endpoint is intended for server-side integrations that need to backup key shares on behalf of users.
post/environments/{environmentId}/waas/{walletId}/keyShares/backup/locations
Path parameters
environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f
ID of the environment
walletIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f
UUID of the wallet
Request body
Example request
{
"locations": [
{
"keygenId": "An example name",
"externalKeyShareId": "An example name"
}
]
}Response
Backup action and event created successfully
Example response
{
"walletId": "95b11417-f18f-457f-8804-68e361f9164f",
"locationsWithKeyShares": [
{
"keyShareId": "95b11417-f18f-457f-8804-68e361f9164f",
"externalKeyShareId": "95b11417-f18f-457f-8804-68e361f9164f"
}
]
}