---
title: MoQ
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# MoQ

#### MoQRelays

##### [List relays](https://developers.cloudflare.com/api/python/resources/moq/subresources/relays/methods/list)

moq.relays.list(RelayListParams\*\*kwargs) -> SyncSinglePage\[[RelayListResponse](<https://developers.cloudflare.com/api/python/resources/moq#(resource)%20moq.relays%20%3E%20(model)%20relay_list_response%20%3E%20(schema)>)]

GET/accounts/{account\_id}/moq/relays

##### [Get a relay](https://developers.cloudflare.com/api/python/resources/moq/subresources/relays/methods/get)

moq.relays.get(strrelay\_id, RelayGetParams\*\*kwargs) -> [RelayGetResponse](<https://developers.cloudflare.com/api/python/resources/moq#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/moq/relays/{relay\_id}

##### [Create a relay](https://developers.cloudflare.com/api/python/resources/moq/subresources/relays/methods/create)

moq.relays.create(RelayCreateParams\*\*kwargs) -> [RelayCreateResponse](<https://developers.cloudflare.com/api/python/resources/moq#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/moq/relays

##### [Update a relay](https://developers.cloudflare.com/api/python/resources/moq/subresources/relays/methods/update)

moq.relays.update(strrelay\_id, RelayUpdateParams\*\*kwargs) -> [RelayUpdateResponse](<https://developers.cloudflare.com/api/python/resources/moq#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)>)

PUT/accounts/{account\_id}/moq/relays/{relay\_id}

##### [Delete a relay](https://developers.cloudflare.com/api/python/resources/moq/subresources/relays/methods/delete)

moq.relays.delete(strrelay\_id, RelayDeleteParams\*\*kwargs) -> object

DELETE/accounts/{account\_id}/moq/relays/{relay\_id}

##### ModelsExpand Collapse

<details>

<summary>

class RelayListResponse: …

Abbreviated relay for list responses.

</summary>

created: datetime

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_list_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: datetime

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_list_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: str

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_list_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

uid: str

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_list_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20moq.relays%20%3E%20(model)%20relay_list_response%20%3E%20(schema)>)

<details>

<summary>

class RelayGetResponse: …

Full relay details (no tokens).

</summary>

<details>

<summary>

config: Config

</summary>

<details>

<summary>

upstreams: Optional\[ConfigUpstreams]

Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.

</summary>

enabled: Optional\[bool]

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

upstreams: Optional\[List\[ConfigUpstreamsUpstream]]

Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.

</summary>

url: str

Upstream MOQT server publisher URL. Must be an absolute URL with a host and a scheme the relay can dial: moqt:// (raw QUIC) or https:// (WebTransport). Validated on update (PUT); rejected with 21013.

formaturi

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams%20%3E%20(property)%20upstreams%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams%20%3E%20(property)%20upstreams">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

created: datetime

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: datetime

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: str

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

uid: str

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

status: Optional\[Literal\["connected"]]

“connected” when active, omitted otherwise.

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)>)

<details>

<summary>

class RelayCreateResponse: …

Relay with its auto-created default token pair (one full-access \[publish, subscribe] and one \[subscribe]-only), each with its one-time secret, wrapped in the issuers envelope.

</summary>

<details>

<summary>

config: Config

</summary>

<details>

<summary>

upstreams: Optional\[ConfigUpstreams]

Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.

</summary>

enabled: Optional\[bool]

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

upstreams: Optional\[List\[ConfigUpstreamsUpstream]]

Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.

</summary>

url: str

Upstream MOQT server publisher URL. Must be an absolute URL with a host and a scheme the relay can dial: moqt:// (raw QUIC) or https:// (WebTransport). Validated on update (PUT); rejected with 21013.

formaturi

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams%20%3E%20(property)%20upstreams%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams%20%3E%20(property)%20upstreams">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

created: datetime

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

<details>

<summary>

issuers: List\[Issuer]

Token collection (discriminated union on <code>type</code>). On create this holds the auto-created default pair, each including its one-time secret.

</summary>

<details>

<summary>

cloudflare\_tokens: List\[IssuerCloudflareToken]

Always present (\[] when empty).

</summary>

created: datetime

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20created">Link to this property</a>

expires: datetime

Mandatory; no more than 1 year after <code>created</code>.

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20expires">Link to this property</a>

jti: str

Token identity and registry key (32 hex chars).

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20jti">Link to this property</a>

<details>

<summary>

operations: List\[Literal\["publish", "subscribe"]]

Signed allowlist of what the token may do. V1 coarse roles; the array form extends to fine-grained MoQT message names later without a breaking change.

</summary>

One of the following:

"publish"

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20operations%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"subscribe"

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20operations%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20operations">Link to this property</a>

label: Optional\[str]

Optional, customer-set.

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20label">Link to this property</a>

secret: Optional\[str]

The signed JWT. Present ONLY in create / auto-create responses (shown once); never returned by list, never stored.

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20secret">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens">Link to this property</a>

issuer: Literal\["cloudflare"]

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20issuer">Link to this property</a>

type: Literal\["cloudflare\_jwt"]

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers">Link to this property</a>

modified: datetime

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: str

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

uid: str

Server-generated unique identifier (32 hex chars).

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)>)

<details>

<summary>

class RelayUpdateResponse: …

Full relay details (no tokens).

</summary>

<details>

<summary>

config: Config

</summary>

<details>

<summary>

upstreams: Optional\[ConfigUpstreams]

Upstreams are external MOQT server publishers that a relay falls back to when it has no local publisher for a requested namespace/track.

</summary>

enabled: Optional\[bool]

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

upstreams: Optional\[List\[ConfigUpstreamsUpstream]]

Ordered list of upstream MOQT server publishers. Each entry is an object (not a bare string) so per-upstream configuration can be added in the future without another breaking change.

</summary>

url: str

Upstream MOQT server publisher URL. Must be an absolute URL with a host and a scheme the relay can dial: moqt:// (raw QUIC) or https:// (WebTransport). Validated on update (PUT); rejected with 21013.

formaturi

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams%20%3E%20(property)%20upstreams%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams%20%3E%20(property)%20upstreams">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20config%20%3E%20(property)%20upstreams">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20config">Link to this property</a>

created: datetime

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20created">Link to this property</a>

modified: datetime

formatdate-time

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20modified">Link to this property</a>

name: str

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

uid: str

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20uid">Link to this property</a>

status: Optional\[Literal\["connected"]]

“connected” when active, omitted otherwise.

<a href="#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)>)

#### MoQRelaysTokens

##### [Create a token](https://developers.cloudflare.com/api/python/resources/moq/subresources/relays/subresources/tokens/methods/create)

moq.relays.tokens.create(strrelay\_id, TokenCreateParams\*\*kwargs) -> [TokenCreateResponse](<https://developers.cloudflare.com/api/python/resources/moq#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)>)

POST/accounts/{account\_id}/moq/relays/{relay\_id}/tokens

##### [List tokens](https://developers.cloudflare.com/api/python/resources/moq/subresources/relays/subresources/tokens/methods/list)

moq.relays.tokens.list(strrelay\_id, TokenListParams\*\*kwargs) -> [TokenListResponse](<https://developers.cloudflare.com/api/python/resources/moq#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)>)

GET/accounts/{account\_id}/moq/relays/{relay\_id}/tokens

##### [Revoke a token](https://developers.cloudflare.com/api/python/resources/moq/subresources/relays/subresources/tokens/methods/delete)

moq.relays.tokens.delete(strjti, TokenDeleteParams\*\*kwargs) -> [TokenDeleteResponse](<https://developers.cloudflare.com/api/python/resources/moq#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)>)

DELETE/accounts/{account\_id}/moq/relays/{relay\_id}/tokens/{jti}

##### ModelsExpand Collapse

<details>

<summary>

class TokenCreateResponse: …

A relay’s token collection, keyed on issuer <code>type</code> (a discriminated union). V1 ships exactly one arm (<code>cloudflare_jwt</code>). Clients iterate <code>issuers</code>, switch on <code>type</code>, and ignore unknown types — that contract is what makes adding or removing an arm non-breaking.

</summary>

<details>

<summary>

issuers: List\[Issuer]

</summary>

<details>

<summary>

cloudflare\_tokens: List\[IssuerCloudflareToken]

Always present (\[] when empty).

</summary>

created: datetime

formatdate-time

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20created">Link to this property</a>

expires: datetime

Mandatory; no more than 1 year after <code>created</code>.

formatdate-time

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20expires">Link to this property</a>

jti: str

Token identity and registry key (32 hex chars).

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20jti">Link to this property</a>

<details>

<summary>

operations: List\[Literal\["publish", "subscribe"]]

Signed allowlist of what the token may do. V1 coarse roles; the array form extends to fine-grained MoQT message names later without a breaking change.

</summary>

One of the following:

"publish"

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20operations%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"subscribe"

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20operations%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20operations">Link to this property</a>

label: Optional\[str]

Optional, customer-set.

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20label">Link to this property</a>

secret: Optional\[str]

The signed JWT. Present ONLY in create / auto-create responses (shown once); never returned by list, never stored.

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20secret">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens">Link to this property</a>

issuer: Literal\["cloudflare"]

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20issuer">Link to this property</a>

type: Literal\["cloudflare\_jwt"]

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)%20%3E%20(property)%20issuers">Link to this property</a>

</details>

[Link to this property](<#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)>)

<details>

<summary>

class TokenListResponse: …

A relay’s token collection, keyed on issuer <code>type</code> (a discriminated union). V1 ships exactly one arm (<code>cloudflare_jwt</code>). Clients iterate <code>issuers</code>, switch on <code>type</code>, and ignore unknown types — that contract is what makes adding or removing an arm non-breaking.

</summary>

<details>

<summary>

issuers: List\[Issuer]

</summary>

<details>

<summary>

cloudflare\_tokens: List\[IssuerCloudflareToken]

Always present (\[] when empty).

</summary>

created: datetime

formatdate-time

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20created">Link to this property</a>

expires: datetime

Mandatory; no more than 1 year after <code>created</code>.

formatdate-time

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20expires">Link to this property</a>

jti: str

Token identity and registry key (32 hex chars).

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20jti">Link to this property</a>

<details>

<summary>

operations: List\[Literal\["publish", "subscribe"]]

Signed allowlist of what the token may do. V1 coarse roles; the array form extends to fine-grained MoQT message names later without a breaking change.

</summary>

One of the following:

"publish"

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20operations%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"subscribe"

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20operations%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20operations">Link to this property</a>

label: Optional\[str]

Optional, customer-set.

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20label">Link to this property</a>

secret: Optional\[str]

The signed JWT. Present ONLY in create / auto-create responses (shown once); never returned by list, never stored.

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens%20%3E%20(items)%20%3E%20(property)%20secret">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20cloudflare_tokens">Link to this property</a>

issuer: Literal\["cloudflare"]

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20issuer">Link to this property</a>

type: Literal\["cloudflare\_jwt"]

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)%20%3E%20(property)%20issuers">Link to this property</a>

</details>

[Link to this property](<#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)>)

<details>

<summary>

class TokenDeleteResponse: …

</summary>

<details>

<summary>

errors: List\[Error]

</summary>

code: Optional\[int]

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

message: Optional\[str]

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)%20%3E%20(property)%20errors">Link to this property</a>

<details>

<summary>

messages: List\[Message]

</summary>

code: Optional\[int]

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)%20%3E%20(property)%20messages%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

message: Optional\[str]

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)%20%3E%20(property)%20messages%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

</details>

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)%20%3E%20(property)%20messages">Link to this property</a>

success: bool

<a href="#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

</details>

[Link to this property](<#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)>)