misc_pterodactyl-panel/resources/scripts/api/server/network/deleteServerAllocation.ts

5 lines
233 B
TypeScript
Raw Normal View History

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}`);