# Delete Method The Delete method deletes a code. Syntax
    SiteCafe.Server.Codes.Delete(index)
Parameters
index | Long value that specifies the code index.
Return Value None. Remarks None. Examples The following example creates and deletes a code.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    codeIndex = SiteCafe.Server.Codes.Create("NewCode", 1, 1);
    SiteCafe.Server.Codes.Delete(codeIndex);
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top