Skip to content
Docs
Secrets

Delete

Delete

zones.secrets.delete(strid, SecretDeleteParams**kwargs)
DELETE/zones/{zone_id}/secrets/{id}
ParametersExpand Collapse
zone_id: str

A globally unique opaque identifier

minLength1
id: str
x_client_request_id: Optional[str]
formatuuid

Delete

import os
from keycardai_api import KeycardAPI

client = KeycardAPI(
    api_key=os.environ.get("KEYCARD_API_API_KEY"),  # This is the default and can be omitted
)
client.zones.secrets.delete(
    id="id",
    zone_id="x",
)
Returns Examples