Skip to main content
DELETE
/
v1
/
files
/
{file_id}
Delete File
curl --request DELETE \
  --url https://api.olostep.com/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string
required

Unique identifier for the file to delete.

Response

File deleted successfully.

id
string

File ID

object
string

The kind of object. "file" for this endpoint.

deleted
boolean

Indicates the file was successfully deleted