Delete a file.
Scopes: files:write
files:write
Python
from polar_sdk import Polar with Polar( access_token="<YOUR_BEARER_TOKEN_HERE>", ) as polar: polar.files.delete(id="<value>") # Use the SDK ...
{ "error": "<string>", "detail": "<string>" }
You can generate an Organization Access Token from your organization's settings.
File deleted.
Was this page helpful?