---
title: MoQ
---

[Skip to content](#_top)

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

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/typescript/resources/moq/subresources/relays/methods/list)

client.moq.relays.list(RelayListParams {account\_id, asc, created\_after, 2 more } params, RequestOptionsoptions?): SinglePage< [RelayListResponse](<https://developers.cloudflare.com/api/typescript/resources/moq#(resource)%20moq.relays%20%3E%20(model)%20relay_list_response%20%3E%20(schema)>) {created, modified, name, uid } >

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

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

client.moq.relays.get(stringrelayID, RelayGetParams {account\_id } params, RequestOptionsoptions?): [RelayGetResponse](<https://developers.cloudflare.com/api/typescript/resources/moq#(resource)%20moq.relays%20%3E%20(model)%20relay_get_response%20%3E%20(schema)>) {config, created, modified, 3 more }

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

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

client.moq.relays.create(RelayCreateParams {account\_id, name } params, RequestOptionsoptions?): [RelayCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/moq#(resource)%20moq.relays%20%3E%20(model)%20relay_create_response%20%3E%20(schema)>) {config, created, issuers, 3 more }

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

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

client.moq.relays.update(stringrelayID, RelayUpdateParams {account\_id, config, name } params, RequestOptionsoptions?): [RelayUpdateResponse](<https://developers.cloudflare.com/api/typescript/resources/moq#(resource)%20moq.relays%20%3E%20(model)%20relay_update_response%20%3E%20(schema)>) {config, created, modified, 3 more }

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

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

client.moq.relays.delete(stringrelayID, RelayDeleteParams {account\_id } params, RequestOptionsoptions?): [RelayDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/moq#(resource)%20moq.relays%20%3E%20(model)%20relay_delete_response%20%3E%20(schema)>)| null

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

##### ModelsExpand Collapse

<details>

<summary>

RelayListResponse {created, modified, name, uid }

Abbreviated relay for list responses.

</summary>

created: string

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: string

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: string

<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: string

<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>

RelayGetResponse {config, created, modified, 3 more }

Full relay details (no tokens).

</summary>

<details>

<summary>

config: Config {upstreams }

</summary>

<details>

<summary>

upstreams?: Upstreams {enabled, upstreams }

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?: boolean

<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?: Array&lt;Upstream&gt;

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: string

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: string

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: string

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: string

<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: string

<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?: "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>

RelayCreateResponse {config, created, issuers, 3 more }

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 {upstreams }

</summary>

<details>

<summary>

upstreams?: Upstreams {enabled, upstreams }

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?: boolean

<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?: Array&lt;Upstream&gt;

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: string

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: string

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: Array&lt;Issuer&gt;

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: Array&lt;CloudflareToken&gt;

Always present (\[] when empty).

</summary>

created: string

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: string

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: string

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: Array&lt;"publish"| "subscribe"&gt;

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?: string

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?: string

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: "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: "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: string

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: string

<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: string

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>

RelayUpdateResponse {config, created, modified, 3 more }

Full relay details (no tokens).

</summary>

<details>

<summary>

config: Config {upstreams }

</summary>

<details>

<summary>

upstreams?: Upstreams {enabled, upstreams }

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?: boolean

<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?: Array&lt;Upstream&gt;

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: string

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: string

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: string

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: string

<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: string

<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?: "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)>)

RelayDeleteResponse = unknown

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

#### MoQRelaysTokens

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

client.moq.relays.tokens.create(stringrelayID, TokenCreateParams {account\_id, operations, expires, label } params, RequestOptionsoptions?): [TokenCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/moq#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_create_response%20%3E%20(schema)>) {issuers }

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

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

client.moq.relays.tokens.list(stringrelayID, TokenListParams {account\_id } params, RequestOptionsoptions?): [TokenListResponse](<https://developers.cloudflare.com/api/typescript/resources/moq#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_list_response%20%3E%20(schema)>) {issuers }

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

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

client.moq.relays.tokens.delete(stringjti, TokenDeleteParams {account\_id, relay\_id } params, RequestOptionsoptions?): [TokenDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/moq#(resource)%20moq.relays.tokens%20%3E%20(model)%20token_delete_response%20%3E%20(schema)>) {errors, messages, success }

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

##### ModelsExpand Collapse

<details>

<summary>

TokenCreateResponse {issuers }

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: Array&lt;Issuer&gt;

</summary>

<details>

<summary>

cloudflare\_tokens: Array&lt;CloudflareToken&gt;

Always present (\[] when empty).

</summary>

created: string

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: string

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: string

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: Array&lt;"publish"| "subscribe"&gt;

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?: string

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?: string

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: "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: "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>

TokenListResponse {issuers }

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: Array&lt;Issuer&gt;

</summary>

<details>

<summary>

cloudflare\_tokens: Array&lt;CloudflareToken&gt;

Always present (\[] when empty).

</summary>

created: string

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: string

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: string

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: Array&lt;"publish"| "subscribe"&gt;

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?: string

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?: string

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: "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: "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>

TokenDeleteResponse {errors, messages, success }

</summary>

<details>

<summary>

errors: Array&lt;Error&gt;

</summary>

code?: number

<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?: string

<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: Array&lt;Message&gt;

</summary>

code?: number

<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?: string

<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: boolean

<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)>)