---
title: 'other:cloudflare:users'
url: 'https://docs.danami.com/juggernaut/command-line-interface/other/other-cloudflare-users'
markdown: 'https://docs.danami.com/juggernaut/command-line-interface/other/other-cloudflare-users.md'
date: '2026-10-07'
description: 'Configure the Cloudflare API accounts for use with the CloudFlare Firewall. juggernaut --task=other:cloudflare:users --oper=<user_add|user_edit|user_del> --user=<string> Option Value Default Description --oper <string> The operation you want to perform. Operations: user_add, …'
taxonomy:
  category:
    - docs
  tag:
    - cloudflare
---

[](#)  [ Basics ](https://docs.danami.com/juggernaut/)     [ Command Line Interface ](https://docs.danami.com/juggernaut/command-line-interface)      Other       other:cloudflare:users    

# other:cloudflare:users

Configure the Cloudflare API accounts for use with the CloudFlare Firewall.

```
juggernaut --task=other:cloudflare:users --oper=<user_add|user_edit|user_del> --user=<string>
```

| Option | Value | Default | Description |
|---|---|---|---|
| `--oper` | <string> |  | The operation you want to perform. Operations: user\_add, user\_edit, user\_del |
| `--domain` | <string> |  | Domain name or enter "any" to match all triggers regardless of domain name. |
| `--user` | <string> |  | A unique name for the entry, but does not have to be a local linux account name. |
| `--cfaccount` | <string> |  | The Cloudflare login user (email address). |
| `--cfapikey` | <string> |  | The Cloudflare Client API Key. |
| `--restart` | <yes> |  | Restart the service after saving settings. |

## Examples

```
// add an entry
juggernaut --task=other:cloudflare:users --oper=user_add --domain=any --user=SOMEUSER --cfaccount=XXXXXX --cfapikey=XXXXXX --restart=yes

// remove an entry
juggernaut --task=other:cloudflare:users --oper=user_del --user=SOMEUSER

// add the Cloudflare account for a specific domain so blocks apply there only
juggernaut --task=other:cloudflare:users --oper=user_add --domain=example.com --user=EXAMPLECOM --cfaccount=api@example.com --cfapikey=XXXXXX --restart=yes
```

## Related Pages

- [Cloudflare](https://docs.danami.com/juggernaut/user-guide/cloudflare "Cloudflare")
- [Cloudflare Settings](https://docs.danami.com/juggernaut/settings/other/cloudflare-settings "Cloudflare Settings")

 [ ](https://docs.danami.com/juggernaut/command-line-interface/other/other-cloudflare) [](https://docs.danami.com/juggernaut/settings/other/cloudflare-settings)

---

## Navigation

- Previous: [other:cloudflare](https://docs.danami.com/juggernaut/command-line-interface/other/other-cloudflare.md)
- Next: [other:debug](https://docs.danami.com/juggernaut/command-line-interface/other/other-debug.md)
