# Changing host name using API

**URL:** <https://devforum.zoom.us/t/changing-host-name-using-api/65887>\
**Category:** Meetings\
**Tags:** api\
**Created:** [March 16, 2022, 9:36am UTC](https://devforum.zoom.us/t/changing-host-name-using-api/65887 "2022-03-16T09:36:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![geekguy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/geekguy/32/36012_2.png) [@geekguy](https://devforum.zoom.us/u/geekguy)\
**Post date:** [March 16, 2022, 9:36am UTC](https://devforum.zoom.us/t/changing-host-name-using-api/65887/1 "2022-03-16T09:36:30Z")

</div>

There is a solution mentioned on this question: [Could you change the host name at start\_url meeting?](https://devforum.zoom.us/t/could-you-change-the-host-name-at-start-url-meeting/5723)

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

Please let me know.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 18, 2022, 4:56am UTC](https://devforum.zoom.us/t/changing-host-name-using-api/65887/2 "2022-05-18T04:56:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![geekguy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/geekguy/32/36012_2.png) [@geekguy](https://devforum.zoom.us/u/geekguy)\
**Post date:** [August 25, 2022, 1:36am UTC](https://devforum.zoom.us/t/changing-host-name-using-api/65887/3 "2022-08-25T01:36:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [September 1, 2022, 1:47am UTC](https://devforum.zoom.us/t/changing-host-name-using-api/65887/4 "2022-09-01T01:47:00Z")

</div>

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](https://www.postman.com/cloudy-moon-525834/workspace/zoom-api-public-workspace/folder/15966727-4658fe13-08b4-433a-b6bc-3d6b091cfabd?ctx=documentation)

---

<div class="post-metadata">

**Author:** ![rachelgomez161999](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rachelgomez161999/32/35985_2.png) [@rachelgomez161999](https://devforum.zoom.us/u/rachelgomez161999)\
**Post date:** [September 9, 2022, 8:59am UTC](https://devforum.zoom.us/t/changing-host-name-using-api/65887/5 "2022-09-09T08:59:41Z")

</div>

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
