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

# anaconda sites modify

export const GCell = ({children, className}) => <div className={`grid-table-cell ${className || ""}`} role="cell">
    {children}
  </div>;

export const GTH = ({children, className}) => <div className={`grid-table-th ${className || ""}`} role="columnheader">
    {children}
  </div>;

export const GRow = ({children}) => <div className="grid-table-row" role="row">{children}</div>;

export const GBody = ({children}) => <div className="grid-table-body" role="rowgroup">{children}</div>;

export const GHead = ({children}) => <div className="grid-table-head" role="rowgroup">{children}</div>;

export const GTable = ({children, className, cols}) => <div className={`grid-table not-prose overflow-hidden rounded-2xl ${className || ""}`} style={{
  "--grid-table-cols": cols
}} role="table">
    {children}
  </div>;

## Usage

```bash theme={null}
anaconda sites modify (--domain <DOMAIN> | --name <NAME>) [OPTIONS]
```

## Description

Modifies an existing site configuration in `~/.anaconda/config.toml`. At least one of `--domain` or `--name` is required to identify the site to modify. Only the options you supply are changed; other values are preserved.

**Side effects:** Writes to `~/.anaconda/config.toml`. A diff is shown for confirmation unless `--yes` or `--dry-run` is specified.

## Options

<GTable cols="30% 70%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`--domain <DOMAIN>`</GCell>
      <GCell>Domain name for the site</GCell>
    </GRow>

    <GRow>
      <GCell>`--name <NAME>`</GCell>
      <GCell>Name of the site entry to modify</GCell>
    </GRow>

    <GRow>
      <GCell>`--default`</GCell>
      <GCell>Set this site as the default</GCell>
    </GRow>

    <GRow>
      <GCell>`--api-key <KEY>`</GCell>
      <GCell>API key for the site. Stored in `config.toml` (not the keyring).</GCell>
    </GRow>

    <GRow>
      <GCell>`--ssl-verify / --no-ssl-verify`</GCell>
      <GCell>Enable or disable SSL verification</GCell>
    </GRow>

    <GRow>
      <GCell>`--use-truststore / --no-use-truststore`</GCell>
      <GCell>Use the system truststore for SSL verification</GCell>
    </GRow>

    <GRow>
      <GCell>`--extra-headers <JSON>`</GCell>
      <GCell>Extra headers (as a JSON string) to include with every request</GCell>
    </GRow>

    <GRow>
      <GCell>`--proxy-servers <JSON>`</GCell>
      <GCell>Proxy server mapping as a JSON string</GCell>
    </GRow>

    <GRow>
      <GCell>`--client-cert <PATH>`</GCell>
      <GCell>Path to a client certificate file</GCell>
    </GRow>

    <GRow>
      <GCell>`--client-cert-key <PATH>`</GCell>
      <GCell>Path to the client certificate key file</GCell>
    </GRow>

    <GRow>
      <GCell>`--use-device-flow / --no-use-device-flow`</GCell>
      <GCell>Use the OAuth device flow for authentication</GCell>
    </GRow>

    <GRow>
      <GCell>`--use-unified-repo-api-key / --no-use-unified-repo-api-key`</GCell>
      <GCell>Use a unified repository API key</GCell>
    </GRow>

    <GRow>
      <GCell>`--disable-conda-auto-config / --no-disable-conda-auto-config`</GCell>
      <GCell>Disable automatic conda configuration on login</GCell>
    </GRow>

    <GRow>
      <GCell>`-y, --yes / --dry-run`</GCell>
      <GCell>Confirm and write changes immediately, or print the diff without writing</GCell>
    </GRow>

    <GRow>
      <GCell>`-h, --help`</GCell>
      <GCell>Show help for this command</GCell>
    </GRow>
  </GBody>
</GTable>

## Examples

**Change the domain for an existing site**

```bash theme={null}
anaconda sites modify --name my-platform --domain new-platform.example.com
```

**Disable SSL verification for an existing site**

```bash theme={null}
anaconda sites modify --name my-platform --no-ssl-verify
```

**Set an existing site as default**

```bash theme={null}
anaconda sites modify --name my-platform --default
```

**Preview changes without writing**

```bash theme={null}
anaconda sites modify --name my-platform --domain new.example.com --dry-run
```
