Changing host name using API

There is a solution mentioned on this question: Could you change the host name at start_url meeting?

I am not sure if this is still an applicable or reliable way to achieve this.

Please let me know.

Hi, @geekguy.

Welcome to the Developer Forum! Would you be able to share more details on what you are trying to accomplish? This information will help us advise the best path forward.

Hi Donte,

We would like to share start_url with our coaches (they don’t have a zoom account under our account).

I would like to change their name when they start the meeting.

In the question I have referenced, Tonny mentioned something related to parameters un and prefer,

I couldn’t find any documentation around this and not sure if this solution still works.

Let me know what’s the alternative here.

The best approach to assigning names to participants is using the registration flow. The name entered will be displayed when entering the meeting.

https://www.postman.com/cloudy-moon-525834/workspace/zoom-api-public-workspace/folder/15966727-4658fe13-08b4-433a-b6bc-3d6b091cfabd?ctx=documentation

Follow the steps given below.

Update the deployment.toml file.

Open the <API-M_HOME>/repository/conf/deployment.toml file

Define the hostname attribute under server configurations as shown below.

Format

[server]
hostname = “{hostname}”
Example
Replace {hostname} with the Hostname or IP address of the machine hosting this server. This becomes part of the endpoint reference of the services deployed on this server instance.

Configure the Developer Portal URL, which is used to access the Developer Portal via the Publisher.

Uncomment the following configuration and define the hostname.

[apim.devportal]
url = “https://:${mgt.transport.https.port}/devportal”
Generate a key store, export the public certificate from the keystore, and import that certificate to the client­-truststore.jks file.

For more information, see Creating New Keystores.

Restart the server.

Map the hostname alias to its IP address in the /etc/hosts file of your system as shown below.

Info

You need this when the host is internal or not resolved by a DNS,

127.0.0.1 localhost
<ip_address>

Greeting,
Rachel Gomez