Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
Multipart upload aborted successfully
Example:
true
from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
client.files.multipart.abort(
upload_id="upload-123",
file_id="file-456"
)
{
"success": true
}
Abort a multipart upload and clean up any uploaded parts.
from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
client.files.multipart.abort(
upload_id="upload-123",
file_id="file-456"
)
{
"success": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Multipart upload aborted successfully
true
Was this page helpful?