---
# @generated by sylphx-gen. Do not edit.
title: "sylphx broker token_exchanges"
description: "The sylphx broker token_exchanges commands of Sylphx Broker: every verb, with its argument, its flags and a run line."
type: reference
product: platform
summary: "Every sylphx broker token_exchanges command: its argument, its flags and a run line."
updated: 2026-09-28
nav: false
---

The `token_exchanges` commands of Sylphx Broker, as the CLI spells them: the same
calls as [the `token_exchanges` API page](/docs/api/token_exchanges), typed for the
shell. [Install, sign in and the grammar](/docs/cli) are on the CLI index.

## get

Gets the record of one issued credential.

**`NAME`** — the resource's name; a bare id is enough below the linked
project.

**CLI**

```bash
sylphx broker token-exchanges get orgs/acme/trust_policies/trust-policy/token_exchanges/token-exchange
```

`GET https://api.sylphx.com/v1/orgs/acme/trust_policies/trust-policy/token_exchanges/token-exchange` · scope `broker:read` · effect `read` · [Request, response and examples](/docs/api/token_exchanges/get)

## list

Lists the credentials issued under a trust policy, newest first.

**`PARENT`** — optional: the CLI fills it from the linked project or the
key's scope when it is left out.

**CLI**

```bash
sylphx broker token-exchanges list orgs/acme/trust_policies/trust-policy
```

`GET https://api.sylphx.com/v1/orgs/acme/trust_policies/trust-policy/token_exchanges` · scope `broker:read` · effect `read` · [Request, response and examples](/docs/api/token_exchanges/list)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--page-size` | `int` | At most this many; default 50, clamped to 1000. |
| `--page-token` | `string` | `next_page_token` of the previous page. |

## revoke

Revokes an issued credential at the provider by its record. The Broker uses the credential it holds sealed, so the caller needs no token and no live delegation. Idempotent: a credential already revoked or expired answers the record. Erases the sealed credential once the provider confirms.

**`NAME`** — the resource's name; a bare id is enough below the linked
project.

**CLI**

```bash
sylphx broker token-exchanges revoke orgs/acme/trust_policies/trust-policy/token_exchanges/token-exchange --yes
```

`POST https://api.sylphx.com/v1/orgs/acme/trust_policies/trust-policy/token_exchanges/token-exchange:revoke` · scope `broker:read` · effect `destructive` · [Request, response and examples](/docs/api/token_exchanges/revoke)

**Flags**

| Flag | Type | What it does |
| --- | --- | --- |
| `--yes` | `bool` | Do not ask before this destructive call. |
