Tokens
Create a token
POST/accounts/{account_id}/moq/relays/{relay_id}/tokens
List tokens
GET/accounts/{account_id}/moq/relays/{relay_id}/tokens
Revoke a token
DELETE/accounts/{account_id}/moq/relays/{relay_id}/tokens/{jti}
ModelsExpand Collapse
TokenCreateResponse object { issuers } A relay’s token collection, keyed on issuer type (a discriminated
union). V1 ships exactly one arm (cloudflare_jwt). Clients iterate
issuers, switch on type, and ignore unknown types — that contract is
what makes adding or removing an arm non-breaking.
TokenCreateResponse object { issuers }
A relay’s token collection, keyed on issuer type (a discriminated
union). V1 ships exactly one arm (cloudflare_jwt). Clients iterate
issuers, switch on type, and ignore unknown types — that contract is
what makes adding or removing an arm non-breaking.
issuers: array of object { cloudflare_tokens, issuer, type }
issuers: array of object { cloudflare_tokens, issuer, type }
TokenListResponse object { issuers } A relay’s token collection, keyed on issuer type (a discriminated
union). V1 ships exactly one arm (cloudflare_jwt). Clients iterate
issuers, switch on type, and ignore unknown types — that contract is
what makes adding or removing an arm non-breaking.
TokenListResponse object { issuers }
A relay’s token collection, keyed on issuer type (a discriminated
union). V1 ships exactly one arm (cloudflare_jwt). Clients iterate
issuers, switch on type, and ignore unknown types — that contract is
what makes adding or removing an arm non-breaking.
issuers: array of object { cloudflare_tokens, issuer, type }
issuers: array of object { cloudflare_tokens, issuer, type }