# Docs for v2 can be found by changing the above selector ^
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){
"error": {
"message": "<string>",
"type": "<string>",
"param": null,
"code": null
}
}Permanently deletes an endpoint. This action cannot be undone.
# Docs for v2 can be found by changing the above selector ^
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){
"error": {
"message": "<string>",
"type": "<string>",
"param": null,
"code": null
}
}Was this page helpful?