import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
client.cdn.logs_uploader.policies.delete(
0,
)
Logs uploader
Delete policy
Delete the logs uploader policy from the system permanently.
Notes:
Irreversibility: This action is irreversible. Once deleted, the logs uploader policy cannot be recovered.
DELETE
/
cdn
/
logs_uploader
/
policies
/
{id}
Python
import os
from gcore import Gcore
client = Gcore(
api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
)
client.cdn.logs_uploader.policies.delete(
0,
)