curl --request PUT \
--url https://app.plugchoice.com/api/v3/chargers/{charger}/proxy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"vendor_role": "<string>",
"servers": [
{
"servers[].websocket": "<string>",
"servers[].role": "<string>",
"servers[].password": {}
}
]
}
'{
"data": [
{
"websocket_url": "<string>",
"role": "<string>",
"has_password": true,
"created_at": "<string>",
"updated_at": "<string>"
}
]
}curl --request PUT \
--url https://app.plugchoice.com/api/v3/chargers/{charger}/proxy \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"vendor_role": "<string>",
"servers": [
{
"servers[].websocket": "<string>",
"servers[].role": "<string>",
"servers[].password": {}
}
]
}
'{
"data": [
{
"websocket_url": "<string>",
"role": "<string>",
"has_password": true,
"created_at": "<string>",
"updated_at": "<string>"
}
]
}Updates the proxy server configuration for the specified charger. There must be exactly one leader across the vendor role and all server entries.Documentation Index
Fetch the complete documentation index at: https://developer.plugchoice.com/llms.txt
Use this file to discover all available pages before exploring further.
ROLE_LEADER or ROLE_FOLLOWER.Show server
ws:// or wss:// protocol.ROLE_LEADER or ROLE_FOLLOWER.websocket).null (or an empty string) to clear the stored password.Show proxy server