File
Deletes multiple files asynchronously. Requires a `secret_*` API key. Alternatively, you can use a `public_*` API key and JWT-based auth.
Changed onDeletes multiple files asynchronously.
Requires a secret_* API key. Alternatively, you can use a public_* API key and JWT-based auth.
delete/v2/accounts/{accountId}/files/batch
Request
- Base URLhttps://api.bytescale.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
Example:A623uY2
Request body
Example request
{
"files": [
"/uploads/image.jpg"
]
}Response
Success.
Example response
{
"jobId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"jobUrl": "https://api.bytescale.com/v2/accounts/FW25aki/jobs/ExampleJob/01ARZ3NDEKTSV4RRFFQ69G5FAV"
}Changes
- warning
added the new
AntivirusJobenum value to theresponse property for the response status - warning
added the new
ProcessAudioJobenum value to theresponse property for the response status - warning
added the new
ProcessImageJobenum value to theresponse property for the response status - warning
added the new
ProcessVideoJobenum value to theresponse property for the response status - warning
added the new
ResetCacheJobenum value to theresponse property for the response status - info
removed the
ProcessFileJobenum value from theresponse property for the response status
- warning