Skip to content

deleteContent

Codec04 edited this page Jul 24, 2021 · 1 revision

Description

Delete a file or folder.

Usage

response = deleteContent(
    contentId="content-id",
    token="account-token"
)

Response:

{} # api call only returns a status, no data

Function parameters

contentId string required

The file or folder ID.

token string required

The access token of an account. Can be retrieved from the profile page.

Examples

import gofile
response = gofile.deleteContent("content-id", "token")
print(response)
from gofile import deleteContent
print(
    deleteContent(contentId="content-id", token="token")
)

Clone this wiki locally