Skip to main content
POST
/
admin
/
voice
/
servers
/
update
Update voice server
curl --request POST \
  --url https://api.fluxer.app/v1/admin/voice/servers/update \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "region_id": "<string>",
  "server_id": "<string>",
  "endpoint": "<string>",
  "api_key": "<string>",
  "api_secret": "<string>",
  "is_active": true,
  "vip_only": true,
  "required_guild_features": [
    "<string>"
  ],
  "allowed_guild_ids": [
    "<string>"
  ],
  "allowed_user_ids": [
    "<string>"
  ]
}
'
{
  "server": {
    "region_id": "<string>",
    "server_id": "<string>",
    "endpoint": "<string>",
    "is_active": true,
    "vip_only": true,
    "required_guild_features": [
      "<string>"
    ],
    "allowed_guild_ids": [
      "<string>"
    ],
    "allowed_user_ids": [
      "<string>"
    ],
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Admin API key: Authorization: Admin <token>. Only valid for /admin/* endpoints.

Body

application/json
region_id
string
required

ID of the region this server belongs to

server_id
string
required

Unique identifier for the voice server

endpoint
string<uri>

Client signal WebSocket endpoint URL for the voice server

api_key
string

API key for authenticating with the voice server

api_secret
string

API secret for authenticating with the voice server

is_active
boolean

Whether the server is currently active

vip_only
boolean

Whether this server is restricted to VIP users

required_guild_features
string[]

Guild features required to use this server

Maximum array length: 100
allowed_guild_ids
string<snowflake>[]

Guild IDs explicitly allowed to use this server

Maximum array length: 1000
allowed_user_ids
string<snowflake>[]

User IDs explicitly allowed to use this server

Maximum array length: 1000

Response

Success

server
object
required

Updated voice server