Relays
List relays
client.moq.relays.list(RelayListParams { account_id, asc, created_after, 2 more } params, RequestOptionsoptions?): SinglePage<RelayListResponse { created, modified, name, uid } >
GET/accounts/{account_id}/moq/relays
Get a relay
client.moq.relays.get(stringrelayId, RelayGetParams { account_id } params, RequestOptionsoptions?): RelayGetResponse { config, created, modified, 3 more }
GET/accounts/{account_id}/moq/relays/{relay_id}
Create a relay
client.moq.relays.create(RelayCreateParams { account_id, name } params, RequestOptionsoptions?): RelayCreateResponse { config, created, modified, 4 more }
POST/accounts/{account_id}/moq/relays
Update a relay
client.moq.relays.update(stringrelayId, RelayUpdateParams { account_id, config, name } params, RequestOptionsoptions?): RelayUpdateResponse { config, created, modified, 3 more }
PUT/accounts/{account_id}/moq/relays/{relay_id}
Delete a relay
client.moq.relays.delete(stringrelayId, RelayDeleteParams { account_id } params, RequestOptionsoptions?): RelayDeleteResponse | null
DELETE/accounts/{account_id}/moq/relays/{relay_id}
RelaysTokens
Rotate a token
client.moq.relays.tokens.rotate(stringrelayId, TokenRotateParams { account_id, type } params, RequestOptionsoptions?): TokenRotateResponse { token, type }
POST/accounts/{account_id}/moq/relays/{relay_id}/tokens/rotate