File
Deletes a file synchronously. Requires a `secret_*` API key. Alternatively, you can use a `public_*` API key and JWT-based auth.
Changed onDeletes a file synchronously.
Requires a secret_* API key. Alternatively, you can use a public_* API key and JWT-based auth.
delete/v2/accounts/{accountId}/files
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
Query parameters
filePathstring required
Absolute path to a file. Begins with a /.
Example:/uploads/image.jpg
Response
Success.
Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking