File

Deletes a file synchronously. Requires a `secret_*` API key. Alternatively, you can use a `public_*` API key and JWT-based auth.

Changed on

Deletes 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

Path parameters

accountIdstring required

Your account ID.

This is visible on the settings page:

https://www.bytescale.com/dashboard/settings

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