Protected
Create a snapshot of a running box. This snapshot will be saved and can be used to restore the box to the state it was in at the time the snapshot was created.
Optional
const snapshot = await client.v1.boxes.snapshot.create( 'c9bdc193-b54b-4ddb-a035-5ac0c598d32d', { name: 'my-snapshot-1' },); Copy
const snapshot = await client.v1.boxes.snapshot.create( 'c9bdc193-b54b-4ddb-a035-5ac0c598d32d', { name: 'my-snapshot-1' },);
Get a snapshot with specified name
const snapshot = await client.v1.boxes.snapshot.get( 'snapshotName',); Copy
const snapshot = await client.v1.boxes.snapshot.get( 'snapshotName',);
List all snapshots of current orginazation.
const snapshots = await client.v1.boxes.snapshot.list(); Copy
const snapshots = await client.v1.boxes.snapshot.list();
Remove a snapshot of specified id.
await client.v1.boxes.snapshot.remove('snapshotName'); Copy
await client.v1.boxes.snapshot.remove('snapshotName');
Create a snapshot of a running box. This snapshot will be saved and can be used to restore the box to the state it was in at the time the snapshot was created.