toggleBackupLock abstract method
- @POST('/api/client/servers/{serverId}/backups/{backupId}/lock')
- @Path() required String serverId,
- @Path() required String backupId,
- @CancelRequest() CancelToken? cancelToken,
- @SendProgress() @experimental ProgressCallback? onSendProgress,
- @ReceiveProgress() @experimental ProgressCallback? onReceiveProgress,
Lock a Backup to protect it from automated or accidental deletions
If the Backup is already locked, this will unlock it instead
Implementation
@POST('/api/client/servers/{serverId}/backups/{backupId}/lock')
Future<FractalData<Backup>> toggleBackupLock({
@Path() required String serverId,
@Path() required String backupId,
@CancelRequest() CancelToken? cancelToken,
@SendProgress() @experimental ProgressCallback? onSendProgress,
@ReceiveProgress() @experimental ProgressCallback? onReceiveProgress,
});