# coder workspace-proxy regenerate-token

Regenerate a workspace proxy authentication token. This will invalidate the existing authentication token.

## Usage [#usage]

```console
coder workspace-proxy regenerate-token [flags] <name|id>
```

## Options [#options]

### --only-token [#--only-token]

|      |                   |
| ---- | ----------------- |
| Type | <code>bool</code> |

Only print the token. This is useful for scripting.

### -c, --column [#-c---column]

|         |                                                                                                                                                                                                                 |
| ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Type    | <code>\[id\|name\|display name\|icon url\|healthy\|url\|wildcard hostname\|derp enabled\|derp only\|proxy status\|proxy report\|proxy checked at\|created at\|updated at\|deleted\|version\|proxy token]</code> |
| Default | <code>name,url,proxy token</code>                                                                                                                                                                               |

Columns to display in table output.

### -o, --output [#-o---output]

|         |                                |
| ------- | ------------------------------ |
| Type    | <code>text\|json\|table</code> |
| Default | <code>text</code>              |

Output format.
