unassignAllocation abstract method

  1. @DELETE('/api/client/servers/{serverId}/network/allocations/{allocationId}')
Future<FractalData<Allocation>> unassignAllocation({
  1. @Path() required String serverId,
  2. @Path() required int allocationId,
  3. @CancelRequest() CancelToken? cancelToken,
  4. @SendProgress() @experimental ProgressCallback? onSendProgress,
  5. @ReceiveProgress() @experimental ProgressCallback? onReceiveProgress,
})

Unassign an Allocation from Server

Implementation

@DELETE('/api/client/servers/{serverId}/network/allocations/{allocationId}')
Future<FractalData<Allocation>> unassignAllocation({
  @Path() required String serverId,
  @Path() required int allocationId,
  @CancelRequest() CancelToken? cancelToken,
  @SendProgress() @experimental ProgressCallback? onSendProgress,
  @ReceiveProgress() @experimental ProgressCallback? onReceiveProgress,
});