Files
Delete file
DELETE
Delete an uploaded file. Batches already created from it are not affected. Batch output and error files cannot be deleted and answer 400.
ApiKeyAuthheader
Authorization<token>file_id*stringThe id of a file.
Deleted
application/json- response
deleted*trueValue in
trueid*stringobject*"file"Value in
"file"curl -X DELETE 'https://api.ohmygpt.com/v1/files/string'Example Response
{ "deleted": true, "id": "string", "object": "file"}Still stuck? Live chat · [email protected] · Telegram group