BSV blockchainBSV blockchain

Update the active storage for the authenticated user.

POST/sync/active

Body application/json

newActiveStorageIdentityKeystringrequired

storageIdentityKey of the storage to set as active.

Response

Number of rows updated.

updatedinteger
Request
curl -X POST "https://{host}/storage/v1/sync/active" \
  -H "Content-Type: application/json" \
  -d '{
  "newActiveStorageIdentityKey": "string"
}'
Response
{
  "updated": 0
}