> ## 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 channel notice

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>;

export const Comments = ({children}) => {
  return <div class="my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-zinc-500/20 bg-zinc-50/50 dark:border-zinc-500/30 dark:bg-zinc-500/10" data-callout-type="comments">
      <div class="w-4">
        <svg width="14" height="14" viewBox="0 0 640 640" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" aria-label="Comments">
            <path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM280 400C266.7 400 256 410.7 256 424C256 437.3 266.7 448 280 448L360 448C373.3 448 384 437.3 384 424C384 410.7 373.3 400 360 400L352 400L352 312C352 298.7 341.3 288 328 288L280 288C266.7 288 256 298.7 256 312C256 325.3 266.7 336 280 336L304 336L304 400L280 400zM320 256C337.7 256 352 241.7 352 224C352 206.3 337.7 192 320 192C302.3 192 288 206.3 288 224C288 241.7 302.3 256 320 256z" />
        </svg>
      </div>
      <div class="text-sm prose min-w-0 w-full">
        {children}
      </div>
    </div>;
};

## Usage

```bash theme={null}
anaconda channel notice <ACTION> <CHANNEL> [OPTIONS] [NOTICE_ID]
```

<Comments>
  Replace \<ACTION> with one of the actions listed below.<br />
  Replace \<CHANNEL> with the channel name (user or organization account).
</Comments>

## Description

Manages channel notices for Anaconda.org channels. Channel notices are messages displayed to users when they install or update packages from your channel. Notices support three levels (`info`, `warning`, `critical`) and follow a lifecycle of draft, published, and archived states.

For detailed usage information, see [Channel notices](/docs/anaconda-org/admin-guide/notices).

## Actions

<GTable cols="25% 75%">
  <GHead>
    <GRow>
      <GTH>Action</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`create`</GCell>
      <GCell>Create a draft notice</GCell>
    </GRow>

    <GRow>
      <GCell>`list`</GCell>
      <GCell>List notices for a channel</GCell>
    </GRow>

    <GRow>
      <GCell>`get`</GCell>
      <GCell>Get a single notice by ID</GCell>
    </GRow>

    <GRow>
      <GCell>`update`</GCell>
      <GCell>Update a notice</GCell>
    </GRow>

    <GRow>
      <GCell>`publish`</GCell>
      <GCell>Publish a draft or archived notice (make it visible to channel users)</GCell>
    </GRow>

    <GRow>
      <GCell>`archive`</GCell>
      <GCell>Archive a published notice (stop showing it to channel users)</GCell>
    </GRow>

    <GRow>
      <GCell>`delete`</GCell>
      <GCell>Delete a notice</GCell>
    </GRow>
  </GBody>
</GTable>

## Arguments

<GTable cols="20% 80%">
  <GHead>
    <GRow>
      <GTH>Argument</GTH>
      <GTH>Description</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`<CHANNEL>`</GCell>
      <GCell>Channel login (user or organization account)</GCell>
    </GRow>

    <GRow>
      <GCell>`<NOTICE_ID>`</GCell>
      <GCell>Notice UUID (from create output or `list` command). Required for `get`, `update`, `publish`, `archive`, and `delete`.</GCell>
    </GRow>
  </GBody>
</GTable>

## Options

<GTable cols="30% 45% 25%">
  <GHead>
    <GRow>
      <GTH>Option</GTH>
      <GTH>Description</GTH>
      <GTH>Actions</GTH>
    </GRow>
  </GHead>

  <GBody>
    <GRow>
      <GCell>`--message <TEXT>`</GCell>
      <GCell>Text to show in the notice (max 600 characters)</GCell>
      <GCell>`create`, `update`</GCell>
    </GRow>

    <GRow>
      <GCell>`--level <LEVEL>`</GCell>
      <GCell>Notice level: `info` (default), `warning`, `critical`</GCell>
      <GCell>`create`, `update`</GCell>
    </GRow>

    <GRow>
      <GCell>`--expires-at <TEXT>`</GCell>
      <GCell>Expiry time in ISO 8601 format (for example, `2026-09-16T12:00:00Z`)</GCell>
      <GCell>`create`, `update`</GCell>
    </GRow>

    <GRow>
      <GCell>`--expires-after <DAYS>`</GCell>
      <GCell>Expire after this many days from now (minimum 1, alternative to `--expires-at`)</GCell>
      <GCell>`create`, `update`</GCell>
    </GRow>

    <GRow>
      <GCell>`--status <STATUS>`</GCell>
      <GCell>Filter by status (`list`) or set status (`update`): `draft`, `published`, `archived`, `deleted`. For `update`, prefer using `publish`, `archive`, or `delete` commands for lifecycle changes.</GCell>
      <GCell>`list`, `update`</GCell>
    </GRow>

    <GRow>
      <GCell>`--offset <INTEGER>`</GCell>
      <GCell>Pagination offset (default: 0)</GCell>
      <GCell>`list`</GCell>
    </GRow>

    <GRow>
      <GCell>`--limit <INTEGER>`</GCell>
      <GCell>Maximum number of results (default: 20)</GCell>
      <GCell>`list`</GCell>
    </GRow>

    <GRow>
      <GCell>`-f, --force`</GCell>
      <GCell>Run without confirmation prompt</GCell>
      <GCell>`publish`, `archive`, `delete`</GCell>
    </GRow>

    <GRow>
      <GCell>`-n, --namespace <TEXT>`</GCell>
      <GCell>Channel owner (user or organization). Alternative to the positional `<CHANNEL>` argument.</GCell>
      <GCell>All</GCell>
    </GRow>

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

## Examples

**Create a draft notice**

```bash theme={null}
anaconda channel notice create my-channel --message "Deprecation warning: v1 API removed in 2.0" --level warning --expires-after 30
```

**List notices for a channel**

```bash theme={null}
anaconda channel notice list my-channel --status published
```

**Get a single notice**

```bash theme={null}
anaconda channel notice get my-channel 128cd00e-c58f-407f-aab2-ea39159e3cf3
```

**Update a notice**

```bash theme={null}
anaconda channel notice update my-channel 128cd00e-c58f-407f-aab2-ea39159e3cf3 --message "Updated notice message"
```

**Publish a notice**

```bash theme={null}
anaconda channel notice publish my-channel 128cd00e-c58f-407f-aab2-ea39159e3cf3 --force
```

**Archive a notice**

```bash theme={null}
anaconda channel notice archive my-channel 128cd00e-c58f-407f-aab2-ea39159e3cf3
```

**Delete a notice**

```bash theme={null}
anaconda channel notice delete my-channel 128cd00e-c58f-407f-aab2-ea39159e3cf3 --force
```

<Warning>
  Deleted notices cannot be restored. Consider archiving notices instead if you might need to republish them later.
</Warning>
