from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
endpoint = client.endpoints.delete(
endpoint_id="endpoint-id",
)
print(endpoint)
Copy
Ask AI
This response does not have an example.
Endpoints
Delete Endpoint
Permanently deletes an endpoint. This action cannot be undone.
DELETE
/
endpoints
/
{endpointId}
Copy
Ask AI
from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
endpoint = client.endpoints.delete(
endpoint_id="endpoint-id",
)
print(endpoint)