Skip to main content

Clear specific app or group keychain items (clear.keychain)

Declaration

clear.keychain(identifier)

Parameters

  • identifier
    String. Usually pass a company reverse-domain or the app's TeamID, e.g., "com.doglobal" or "GN26HFBMX6". Do NOT pass arbitrary values.

Notes

Clear keychain items for a specific app or group. If unsure, use clear.all_keychain instead.
WARNING: The effect of this function is irreversible.
WARNING: Do NOT pass arbitrary parameters!!!
WARNING: Passing incorrect parameters may cause extremely serious consequences!!!

Example

clear.keychain("com.doglobal") -- clear keychain items related to com.doglobal