> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Clear Configuration Cache

> Configuration XML's may be expensive to build and parse, and are therefore cached to the database.

<para/>Cahcing is per application/instance/associate, and can be turned off through the config file. <para/>If caching is on, and the configuration is changed, it is necessary to clear the cached configurations from the database, through this call.<para/>Note that changes to the externalapplication table require cache invalidation. SoAdmin will do so automatically.
NsApiSlow threshold: 5000 ms.



## OpenAPI

````yaml /openapi/agent/openapi-v3-ConfigurationAgent.json post /api/v1/Agents/Configuration/ClearConfigurationCache
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - ConfigurationAgent
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/Agents/Configuration/ClearConfigurationCache:
    post:
      tags:
        - Configuration_Agent
      summary: Clear Configuration Cache
      description: "Configuration XML's may be expensive to build and parse, and are therefore cached to the database.\n\n<para/>Cahcing is per application/instance/associate, and can be turned off through the config file. <para/>If caching is on, and the configuration is changed, it is necessary to clear the cached configurations from the database, through this call.<para/>Note that changes to the externalapplication table require cache invalidation. SoAdmin will do so automatically.\r\nNsApiSlow threshold: 5000 ms."
      operationId: v1ConfigurationAgent_ClearConfigurationCache
      parameters:
        - name: $select
          in: query
          description: >-
            Optional comma separated list of properties to include in the
            result. Other fields are then nulled out to reduce payload size:
            "Name,department,category". Default = show all fields.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.ConfigurationCarriers.ClearConfigurationCacheRequest
          text/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.ConfigurationCarriers.ClearConfigurationCacheRequest
          application/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.ConfigurationCarriers.ClearConfigurationCacheRequest
          text/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.ConfigurationCarriers.ClearConfigurationCacheRequest
          application/x-www-form-urlencoded:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.ConfigurationCarriers.ClearConfigurationCacheRequest
          application/json-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.ConfigurationCarriers.ClearConfigurationCacheRequest
          application/merge-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.ConfigurationCarriers.ClearConfigurationCacheRequest
        description: Application, Instance, ForAllAssociates
        required: true
      responses:
        '204':
          description: No Content
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.WebApi.v1.Carriers.ConfigurationCarriers.ClearConfigurationCacheRequest:
      description: >-
        ClearConfigurationCache: Configuration XML's may be expensive to build
        and parse, and are therefore cached to the database. <para/>Cahcing is
        per application/instance/associate, and can be turned off through the
        config file. <para/>If caching is on, and the configuration is changed,
        it is necessary to clear the cached configurations from the database,
        through this call.<para/>Note that changes to the externalapplication
        table require cache invalidation. SoAdmin will do so automatically.
      type: object
      properties:
        Application:
          type: string
        Instance:
          type: string
        ForAllAssociates:
          type: boolean

````

## Related topics

- [SuperOffice.WebApi.Data.Configuration ClearConfigurationCacheRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Configuration_ClearConfigurationCacheRequest.md)
- [NSConfigurationAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSConfigurationAgent.md)
- [SuperOffice.WebApi.Agents.ConfigurationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ConfigurationAgent.md)
- [SuperOffice.WebApi.Agents.IConfigurationAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IConfigurationAgent.md)
- [NetServer ClientConfigurationProvider element (SuperOffice only)](/en/onsite/web-config/clientconfigurationprovider.md)
- [Settings](/en/mobile/settings.md)
