MCPcopy Create free account
hub / github.com/EnokiUN/voltage / delete_server

Method delete_server

voltage/internals/http.py:690–699  ·  view source on GitHub ↗

Deletes a server if you own it, otherwise leave it. Parameters ---------- server_id: :class:`str` The id of the server.

(self, server_id: str)

Source from the content-addressed store, hash-verified

688 return await self.request("PATCH", f"servers/{server_id}", json=data)
689
690 async def delete_server(self, server_id: str):
691 """
692 Deletes a server if you own it, otherwise leave it.
693
694 Parameters
695 ----------
696 server_id: :class:`str`
697 The id of the server.
698 """
699 return await self.request("DELETE", f"servers/{server_id}")
700
701 async def create_channel(
702 self,

Callers 1

leaveMethod · 0.80

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected