Path parameters
-
Format should match the following pattern:
^file-
.
DELETE /files/{id}
curl \
-X DELETE https://v5.jinshuju.net/exam/api/files/{id}
Response examples (200)
{
"id": "file-6757a41ee88e5d8d2a0bbbff",
"object": "file",
"deleted": true
}
Response examples (404)
{
"error": {
"type": "invalid_request_error",
"message": "No such File object: invalid"
}
}