• Example

    import { Showpad } from '@showpad/experience-app-sdk'

    // Use Showpad.getShowpadOAuthApiInteractive() if you want to prompt the password instead of passing it.
    const apiConfig = await Showpad.getShowpadOAuthApi(
    '<clientId>',
    '<clientSecret>',
    '<password>',
    )

    await Showpad.deleteStoreEntry('Contacts', '4aeed8ee-45d1-43c9-9c98-76ff57420b82, apiConfig.accessToken)

    Parameters

    • store: string
    • entryId: string
    • Optional authentication: string | AxiosInstance

      AxiosInstance or Access token with the AppsDb OAuth Scope. (In future versions only an AxiosInstance will be allowed.)

      This AxiosInstance should be retrieved with getShowpadOAuthInstance or getShowpadOAuthInstanceInteractive.

      This parameter can be omitted if you know the user executing the function is an administrator.

    Returns Promise<void>

Generated using TypeDoc