# Zuplo CLI: Ca Certificate Update

<CliCommand
  command="ca-certificate update"
  description="Updates the name of a CA certificate"
  options={[
  {
    "name": "cert-id",
    "type": "string",
    "description": "The ID of the CA certificate to update",
    "required": false,
    "deprecated": false,
    "hidden": false
  },
  {
    "name": "name",
    "type": "string",
    "description": "The new name for the CA certificate (must be a valid JavaScript identifier: starts with a letter, _, or $; contains only letters, digits, _, or $)",
    "required": false,
    "deprecated": false,
    "hidden": false
  },
  {
    "name": "account",
    "type": "string",
    "description": "The account name",
    "required": false,
    "deprecated": false,
    "hidden": false
  },
  {
    "name": "output",
    "type": "string",
    "description": "Output format",
    "default": "default",
    "required": false,
    "deprecated": false,
    "hidden": false,
    "alias": [
      "o"
    ],
    "choices": [
      "default",
      "json"
    ]
  }
]}
  examples={[
  [
    "$0 ca-certificate update --cert-id mtlsca_abc123 --name renamed_ca",
    "Rename a CA certificate"
  ],
  [
    "$0 ca-certificate update \\\n  --cert-id mtlsca_abc123 \\\n  --name renamed_ca \\\n  --account my-account",
    "Explicitly specify the account"
  ]
]}
  usage="$0 ca-certificate update --cert-id <id> --name <name> [options]"
>

</CliCommand>

## Global options

The following global options are available for all commands:

- [`--help`](./global-options.mdx#help)
- [`--api-key`](./global-options.mdx#api-key)
