Delete a serverless endpoint group.
Signature
VastAI.delete_endpoint(id: int) -> str
Parameters
ID of the endpoint to delete.
Returns
str — Result from the API call.
Example
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.delete_endpoint(id=12345)
print(result)