For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set User Channels

Update the transmit and scan channels for a connected user on a specific Sonoran Radio server.

Set User Channels

PATCH /v2/servers/:communityId/rooms/:roomId/users/:identity/channels

Rate limit: 6 requests per minute

Updates the connected participant's current transmit and scan channel state.

Headers

Name
Value

Authorization

Bearer <community-api-key>

Content-Type

application/json

Examples

local response = client.radio:setUserChannelsV2(1, "91de0ce8-c571-11e9-9714-5600023b2434", {
  transmit = { 101 },
  scan = { 101, 102, 103 }
}, 1)
const response = await instance.radio?.setUserChannelsV2(
  1,
  "91de0ce8-c571-11e9-9714-5600023b2434",
  { transmit: [101], scan: [101, 102, 103] },
  1
);
response = instance.radio.setUserChannelsV2(
    1,
    "91de0ce8-c571-11e9-9714-5600023b2434",
    {"transmit": [101], "scan": [101, 102, 103]},
    1,
)
var response = await sonoran.Radio.setUserChannelsV2(
    "91de0ce8-c571-11e9-9714-5600023b2434",
    new { transmit = new[] { 101 }, scan = new[] { 101, 102, 103 } }
);
openapi: 3.1.0
paths:
  /v2/servers/{communityId}/rooms/{roomId}/users/{identity}/channels:
    patch:
      security:
        - bearerAuth: []

Response

Successful requests return application/json.

{
  "identity": "91de0ce8-c571-11e9-9714-5600023b2434",
  "roomId": 1,
  "transmit": [101],
  "scan": [102, 103]
}

Last updated

Was this helpful?