# Docs for v1 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")
print(endpoint){
"error": {
"message": "<string>",
"type": "<string>",
"param": null,
"code": null
}
}Permanently deletes an endpoint. This action cannot be undone.
# Docs for v1 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")
print(endpoint){
"error": {
"message": "<string>",
"type": "<string>",
"param": null,
"code": null
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the endpoint to delete
"endpoint-d23901de-ef8f-44bf-b3e7-de9c1ca8f2d7"
No Content - Endpoint successfully deleted
Was this page helpful?