---
title: "Return user NGINX caching configurations."
method: GET
path: "/nginxmanager_get_cache_config_users"
tags: ["NGINX Manager"]
---

# Return user NGINX caching configurations.

`GET /nginxmanager_get_cache_config_users`

This function returns a user's NGINX cache configuration.

## Query parameters

- `merge` 1
- `user` string[]

## Response `200`

HTTP Request was successful.

- object
  - `data` object
    - `users` object[] — An array of objects containing the user configurations.
      - `config` object — The user's configuration values.
        - `enabled` false | true — Caching is enabled or disabled. **Note:** * `true` - Caching is enabled * `false` - Caching is disabled
      - `merged` 1 | 0 — Whether the user's configuration is combined with the system and default configuration values. **Note:** This value indicates if the function passed the `merge` flag. * `1` - The system and default configuration values are combined with the user's configuration values. * `0` - The system and default configuration values are not combined with the user's configuration values.
      - `owner` string, username — The reseller who owns this account.
      - `user` string, username — The user's name.
  - `metadata` object
    - `command` string — The method name called.
    - `reason` string — The reason the API function failed when the `metadata.result` field is 0. This field may display a success message when a function succeeds.
    - `result` 0 | 1 — * `1` - Success * `0` - Failed: Check the reason field for more details.
    - `version` integer — The version of the API function.

---

[API](https://skmtc.net/cpanel/apis/whm-api.md) · [All operations](https://skmtc.net/cpanel/apis/whm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/whm-api/revisions/3da41671c02c/schema)
