🎉 MiniMax-M2.7: Peak Performance. Ultimate Value. Master the Complex. ➔ Try Now.





curl --request POST \
--url https://api.minimax.io/v1/files/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>' \
--data '
{
"file_id": "${file_id}",
"purpose": "t2a_async_input"
}
'{
"file_id": "${file_id}",
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}Delete files on the MiniMax API Platform.
curl --request POST \
--url https://api.minimax.io/v1/files/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>' \
--data '
{
"file_id": "${file_id}",
"purpose": "t2a_async_input"
}
'{
"file_id": "${file_id}",
"base_resp": {
"status_code": 0,
"status_msg": "success"
}
}HTTP: Bearer Auth
Bearer API_key, can be found in Account Management>API Keys.The media type of the request body. Must be set to application/json to ensure the data is sent in JSON format.
application/json