Skip to main content

Clearing the Cache

Cache Tab

You can clear the cache by going to the Cache tab in the plugin’s admin area. There, you can clear all cache or select specific cache pools to clear.

DELETE API Request

To clear the cache through a DELETE API request, you need to add basic authentication to your request. Basic authentication involves sending a verified username and password with your request. The user must have the Administrator role. To set a password for the user, edit the user and add a new application password.

API Endpoints

Forms

EndpointDescription
wp-json/integration-cds/v1/cache/formsClear cache for all forms
wp-json/integration-cds/v1/cache/forms/{formId}Clear cache for a specific form by ID
wp-json/integration-cds/v1/cache/forms/{formGuid}Clear cache for a specific form by GUID

Examples:

Example Endpoint
wp-json/integration-cds/v1/cache/forms/2
wp-json/integration-cds/v1/cache/forms/7a3eabfa-94ea-eb11-bacb-000d3acc54f0

Views

EndpointDescription
wp-json/integration-cds/v1/cache/viewsClear cache for all views
wp-json/integration-cds/v1/cache/views/{tableName}/{viewTitle}Clear cache for a specific view by table name and view title
wp-json/integration-cds/v1/cache/views/{viewGuid}Clear cache for a specific view by GUID

Examples:

Example Endpoint
wp-json/integration-cds/v1/cache/views/account/All Accounts
wp-json/integration-cds/v1/cache/views/6a1eabfa-94ea-eb11-bacb-000d3acc54f0

FetchXML

EndpointDescription
wp-json/integration-cds/v1/cache/fetchxmlClear cache for all FetchXML
wp-json/integration-cds/v1/cache/fetchxml/{tableName}Clear cache for a specific table by name
wp-json/integration-cds/v1/cache/fetchxml/contactClear cache for the contact table

Entity

EndpointDescription
wp-json/integration-cds/v1/cache/entityClear cache for all tables
wp-json/integration-cds/v1/cache/entity/{tableName}Clear cache for a specific table by name
wp-json/integration-cds/v1/cache/entity/contactClear cache for the contact table