# urbestack-plugin-ticket

First published 29 Oct 2026 (release 0.2.19) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-plugin-ticket --name NAME --viewer USER [--session TOKEN-ID]
```

## Description

Issues a one-hour ticket that the UrbeStack web interface passes to a plugin's page in a frame. The ticket is a loopback-only API token of kind plugin. It belongs to the user named by --viewer and carries only the plugin's API scopes. Pass the viewer's session token ID with --session to revoke the ticket when that session ends.

The plugin must be enabled and have a page in the viewer's panel. The viewer's account must be active. Customers can access the page by default unless their package disables it.

The command returns the ticket only once, along with the page's port and path, the ticket's expiration time, and the result of the plugin's health check.

## Same in the API

- [POST /plugins/{name}/tickets](https://urbestack.com/docs/api/post-plugins-name-tickets.md): Issue a ticket for the caller to open a plugin page

## Command family: plugin

- [urbestack-plugin-add](https://urbestack.com/docs/commands/urbestack-plugin-add.md): Registers and enables a new plugin or updates an existing registration from its manifest.
- [urbestack-plugin-catalog](https://urbestack.com/docs/commands/urbestack-plugin-catalog.md): Prints this server's cached catalog of plugins published on the license server.
- [urbestack-plugin-del](https://urbestack.com/docs/commands/urbestack-plugin-del.md): Removes a plugin's registration from this server.
- [urbestack-plugin-get](https://urbestack.com/docs/commands/urbestack-plugin-get.md): Fetches and installs a plugin from the license server this UrbeStack installation uses.
- [urbestack-plugin-key](https://urbestack.com/docs/commands/urbestack-plugin-key.md): Rotates the plugin daemon's API key and revokes the previous key immediately.
- [urbestack-plugin-list](https://urbestack.com/docs/commands/urbestack-plugin-list.md): Lists every registered plugin and the port for plugin pages.
- [urbestack-plugin-set](https://urbestack.com/docs/commands/urbestack-plugin-set.md): Enables or disables a registered plugin.
