Was this helpful?
Retrieve settings of IM server.
/im
curl -L \ --url 'https://HOSTNAME:8887/api/im' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "private_ipv4": "text", "private_ipv6": "text", "public_ipv4": "text", "public_ipv6": "text" }
Update IM server configuration.
Host IPV4 address.
Host IPV6 address.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/im' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json'
No body