# prb third-party command reference

Manage third parties. This page documents **8 commands** under `prb third-party`.

Flags and examples below come from the command definitions. A **Required** flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.

Every command also inherits the [global flags](/docs/developers/cli/commands#global-flags). Run `prb <command> --help` to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the [complete CLI command reference](/docs/developers/cli/commands) to browse another command.

## Commands

| Command                                               | Description                                             | Usage                         | Source                                                                                                           |
| ----------------------------------------------------- | ------------------------------------------------------- | ----------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| [`prb third-party`](#prb-third-party)                 | Manage third parties.                                   | `prb third-party <command>`   | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/thirdpartymgmt.go#L36)  |
| [`prb third-party create`](#prb-third-party-create)   | Create a new third party.                               | `prb third-party create`      | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/create/create.go#L71)   |
| [`prb third-party delete`](#prb-third-party-delete)   | Delete a third party.                                   | `prb third-party delete <id>` | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/delete/delete.go#L43)   |
| [`prb third-party list`](#prb-third-party-list)       | List third parties in an organization.                  | `prb third-party list`        | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/list/list.go#L72)       |
| [`prb third-party publish`](#prb-third-party-publish) | Publish the third party register as a document version. | `prb third-party publish`     | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/publish/publish.go#L83) |
| [`prb third-party update`](#prb-third-party-update)   | Update a third party.                                   | `prb third-party update <id>` | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/update/update.go#L65)   |
| [`prb third-party vet`](#prb-third-party-vet)         | Start AI vetting of a third party from its website.     | `prb third-party vet <id>`    | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/vet/vet.go#L59)         |
| [`prb third-party view`](#prb-third-party-view)       | View a third party.                                     | `prb third-party view <id>`   | [View implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/view/view.go#L78)       |

## prb third-party

Manage third parties.

### Usage

```text
prb third-party <command>
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/thirdpartymgmt.go#L36).

## prb third-party create

Create a new third party.

### Usage

```text
prb third-party create
```

### Flags

| Flag                 | Type         | Default | Required | Description                                |
| -------------------- | ------------ | ------- | -------- | ------------------------------------------ |
| `--address`          | string       | `""`    | —        | Headquarter address                        |
| `--administrator-id` | string array | `[]`    | —        | Administrator profile ID (can be repeated) |
| `--category`         | string       | `""`    | —        | Third party category (required)            |
| `--description`      | string       | `""`    | —        | Third party description                    |
| `--legal-name`       | string       | `""`    | —        | Legal name                                 |
| `--name`             | string       | `""`    | —        | Third party name (required)                |
| `--org`              | string       | `""`    | —        | Organization ID                            |
| `--website`          | string       | `""`    | —        | Website URL                                |

### Examples

```bash
# Create a third party interactively
prb third-party create

# Create a third party non-interactively
prb third-party create --name "Acme Corp" --category CLOUD_PROVIDER
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/create/create.go#L71).

## prb third-party delete

Delete a third party.

### Usage

```text
prb third-party delete <id>
```

Requires 1 positional argument.

### Flags

| Flag          | Type    | Default | Required | Description              |
| ------------- | ------- | ------- | -------- | ------------------------ |
| `--yes`, `-y` | boolean | `false` | —        | Skip confirmation prompt |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/delete/delete.go#L43).

## prb third-party list

List third parties in an organization.

### Usage

```text
prb third-party list
```

Accepts no positional arguments.

### Flags

| Flag                | Type    | Default  | Required | Description                                             |
| ------------------- | ------- | -------- | -------- | ------------------------------------------------------- |
| `--after`           | string  | `""`     | —        | Cursor from the previous page (the Next cursor line)    |
| `--json`            | boolean | `false`  | —        | Output JSON (same as --output json)                     |
| `--level`           | integer | `0`      | —        | Filter by third party level (1 = direct, 2+ = indirect) |
| `--limit`, `-L`     | integer | `30`     | —        | Maximum number of third parties to list                 |
| `--order-by`        | string  | `""`     | —        | Order by field (NAME, CREATED_AT, UPDATED_AT)           |
| `--order-direction` | string  | `"DESC"` | —        | Sort direction (ASC, DESC)                              |
| `--org`             | string  | `""`     | —        | Organization ID                                         |
| `--output`, `-o`    | string  | `""`     | —        | Output format: json, table (default)                    |

### Examples

```bash
# List third parties in the default organization
prb third-party list

# List third parties sorted by name
prb third-party ls --order-by NAME --output json
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/list/list.go#L72).

## prb third-party publish

Publish the third party register as a document version.

### Usage

```text
prb third-party publish
```

### Flags

| Flag         | Type         | Default | Required | Description                                                 |
| ------------ | ------------ | ------- | -------- | ----------------------------------------------------------- |
| `--approver` | string array | `[]`    | —        | Approver profile ID (can be repeated; ignored with --minor) |
| `--minor`    | boolean      | `false` | —        | Publish as a minor version (no approval flow)               |
| `--org`      | string       | `""`    | —        | Organization ID                                             |

### Examples

```bash
# Publish the third party register
prb third-party publish --org ORG_ID

# Publish with approvers
prb third-party publish --org ORG_ID --approver PROFILE_ID1 --approver PROFILE_ID2
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/publish/publish.go#L83).

## prb third-party update

Update a third party.

### Usage

```text
prb third-party update <id>
```

Requires 1 positional argument.

### Flags

| Flag                 | Type         | Default | Required | Description                                              |
| -------------------- | ------------ | ------- | -------- | -------------------------------------------------------- |
| `--address`          | string       | `""`    | —        | Headquarter address                                      |
| `--administrator-id` | string array | `[]`    | —        | Administrator profile ID (can be repeated; empty clears) |
| `--category`         | string       | `""`    | —        | Third party category                                     |
| `--description`      | string       | `""`    | —        | Third party description                                  |
| `--legal-name`       | string       | `""`    | —        | Legal name                                               |
| `--name`             | string       | `""`    | —        | Third party name                                         |
| `--website`          | string       | `""`    | —        | Website URL                                              |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/update/update.go#L65).

## prb third-party vet

Start AI vetting of a third party from its website.

### Usage

```text
prb third-party vet <id>
```

Requires 1 positional argument.

### Additional help

```text
Queue a vetting job that crawls a third party's website using AI agents to extract security, compliance, and business information.
```

### Flags

| Flag               | Type    | Default | Required | Description                               |
| ------------------ | ------- | ------- | -------- | ----------------------------------------- |
| `--json`           | boolean | `false` | —        | Output JSON (same as --output json)       |
| `--output`, `-o`   | string  | `""`    | —        | Output format: json, table (default)      |
| `--procedure-file` | string  | `""`    | —        | Path to a custom vetting procedure file   |
| `--url`            | string  | `""`    | Required | Third party website URL to vet (required) |

### Examples

```bash
# Vet a third party by website URL
prb third-party vet <id> --url https://example.com

# Vet with a custom procedure file
prb third-party vet <id> --url https://example.com --procedure-file ./my-procedure.txt

# Output as JSON
prb third-party vet <id> --url https://example.com -o json
```

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/vet/vet.go#L59).

## prb third-party view

View a third party.

### Usage

```text
prb third-party view <id>
```

Requires 1 positional argument.

### Flags

| Flag             | Type    | Default | Required | Description                          |
| ---------------- | ------- | ------- | -------- | ------------------------------------ |
| `--json`         | boolean | `false` | —        | Output JSON (same as --output json)  |
| `--output`, `-o` | string  | `""`    | —        | Output format: json, table (default) |

[View command implementation](https://github.com/getprobo/probo/blob/main/pkg/cmd/thirdpartymgmt/view/view.go#L78).
