# uip platform

> Manage organization- and tenant-level license resources using the `uip platform` tool, covering tenant allocations, user bundles, and group rules.

`uip platform` is the Platform tool: it manages organization- and tenant-level license resources — tenant runtime/consumable allocations, per-user license bundles, group allocation rules, and the organization-wide consumables report. Install it with `uip tools install platform`, or invoke `uip platform …` and let auto-install run. See [Tools (plugins)](./concepts-tools.md) for the install model and [uip tools](./uip-tools.md) for the command that manages tool installation.

## Resources

Each resource has its own reference page. The verb set on each page matches the commands registered by `uip platform` — run `uip platform --help` to confirm the full surface on your installation.

| Resource | Purpose |
|---|---|
| [tenants](./uip-platform-tenants.md) | Get the license summary for a tenant; set runtime licenses and consumables, routed to the service license that already owns each product code; get/set per-folder outcome billing. |
| [users](./uip-platform-users.md) | Allocate user-bundle licenses to a directory user, list a user's current leases (direct or group-inherited), view account-level user-bundle availability, grant/track consumable top-ups, and report per-user license usage. |
| [groups](./uip-platform-groups.md) | List, inspect, and configure group license-allocation rules with optional per-bundle quotas. |
| [licenses](./uip-platform-licenses.md) | Organization-level consumables reporting: per-tenant allocation summary, daily breakdown by service, and per-folder breakdown. |

## Synopsis

```
uip platform <resource> <verb> [options]
```

Always `uip platform`, never `uip plt`. `platform` is the tool's command prefix (see the `commandPrefix` column in `uip tools list`).

## How to read this section

Every resource page is structured the same way:

1. **Synopsis** — the `uip platform <resource> <verb>` command shape.
2. **Verbs** — a one-line table of every verb the resource exposes.
3. **One H2 per verb** — description, positional arguments (if any), flag table, an example, and the `Data` shape returned under `--output json`.
4. **Exit codes** — a pointer to the shared [Exit codes](./exit-codes.md) contract.
5. **Related commands** and **See also** — cross-links to sibling resources and relevant concept pages.

Default output format is `--output json`. Data shapes on every page reflect the JSON payload — table, yaml, and plain renderings are derived from the same `Data` object.

## Common flags

Most `uip platform` verbs share one optional org-scoping flag. Identifier flags (`<tenant-key>`, `<user>`, `<group>`) are positional and documented per verb.

| Flag | Used by | Purpose |
|---|---|---|
| `--organization <account-id>` | most verbs | Organization account GUID. Defaults to the org from the current login. Override when an external app or session is scoped to a different account. Exception: `uip platform licenses consumables get` registers no `--organization` option at all. |

Verb-level flags (`--input`, `--mode`, `--tenant`, `--unit`, `--start-date`, `--end-date`, `--limit`, `--offset`, `--sort-by`, `--sort-order`) are documented on each resource page.

## Global options and exit codes

All `uip platform` verbs honor the four [global options](./global-options.md) (`--output`, `--output-filter`, `--log-level`, `--log-file`). Exit codes follow the shared [contract](./exit-codes.md).

## See also

- [Concepts: how UiPath CLI is organized](./concepts-cli-architecture.md) — where tools fit in the host + tool model.
- [Sessions](./concepts-sessions.md) — how the organization context is resolved.
- [Configuration](./configuration.md) — environment variables and config files that affect every tool.
- [uip or licenses](./uip-or-licenses.md) — Orchestrator-level robot license assignment (machine and named-user), complementary to platform-level allocation.
