---
title: "honeytokens update"
description: "Update a honeytoken"
canonical: "https://pgbeam.com/docs/cli/honeytokens/update"
last-updated: "2026-09-13T16:16:22.000Z"
---

# honeytokens update

> Update a honeytoken

URL: https://pgbeam.com/docs/cli/honeytokens/update

Updates a honeytoken's relation or action.

## Usage

## Options

Option

Description

Required

Default

`<id>`

Yes

-

`--schema-name <value>`

Optional schema. Null or empty matches the unqualified/public form.

No

-

`--relation-name <value>`

Relation (table or view) name of the decoy.

Yes

-

`--action <value>`

Response when the honeytoken is tripped. One of: audit\_only, kill.

Yes

-

All global options (`--token`, `--profile`,
`--project`, `--org`, `--json`, `--no-color`, `--no-trunc`, `--debug`) are
also available on this command.

## Examples

## Output

Renders a human-readable table or detail view by default; pass `--json` for the raw API response.