mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 20:24:44 +02:00
6 lines
237 B
TypeScript
6 lines
237 B
TypeScript
import { Allocation } from '@/api/server/getServer';
|
|
import http from '@/api/http';
|
|
|
|
export default async (uuid: string, id: number): Promise<Allocation> =>
|
|
await http.delete(`/api/client/servers/${uuid}/network/allocations/${id}`);
|