# How to set up hosted page?

**URL:** <https://community.auth0.com/t/how-to-set-up-hosted-page/8720>\
**Category:** Get Help\
**Tags:** hosted-login-page\
**Created:** [November 11, 2017, 1:10am UTC](https://community.auth0.com/t/how-to-set-up-hosted-page/8720 "2017-11-11T01:10:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ricardo.batista](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ricardo.batista/32/7711_2.png) [@ricardo.batista](https://community.auth0.com/u/ricardo.batista)\
**Post date:** [February 16, 2018, 5:01pm UTC](https://community.auth0.com/t/how-to-set-up-hosted-page/8720/2 "2018-02-16T17:01:05Z")

</div>

You can update the Hosted Login Page for each client with the management API. To do so, you can use the [PATCH /api/v2/clients/{id}](https://auth0.com/docs/api/management/v2#!/Clients/patch_clients_by_id) endpoint to update the `custom_login_page_on` and `custom_login_page` attributes of the client.

The cURL command for the request would look something like:

```
curl -H "Authorization: Bearer {MANAGEMENT_API_TOKEN}" -X PATCH  
  -H "Content-Type: application/json" 
  -d '{"custom_login_page_on" : true, "custom_login_page" : "<html><body>Your custom Hosted Login Page</body></html>"}'
  https://{{YOUR_AUTH0_DOMAIN}/api/v2/clients/{YOUR_CLIENT_ID}

```

---

_[View the full topic](https://community.auth0.com/t/how-to-set-up-hosted-page/8720)._
