Delete a cron.
delete(
self,
cron_id: str,
*,
headers: Mapping[str, str] | None = None,
params: QueryParamTypes | None = None
) -> Noneclient = get_sync_client(url="http://localhost:8123")
client.crons.delete(
cron_id="cron_to_delete"
)| Name | Type | Description |
|---|---|---|
cron_id* | str | The cron ID to delete. |
headers | Mapping[str, str] | None | Default: NoneOptional custom headers to include with the request. |
params | QueryParamTypes | None | Default: NoneOptional query parameters to include with the request. |