---
title: How to apply settings 
slug: hyper-portal/how-to-apply-settings
docTags: 
createdAt: 2022-09-07T07:43:47.000Z
---

To apply the setting you need to send a PUT request to such address-&#x20;

Tenant\_link/v2-core/tenant&#x20;

Where the tenant link is a link of the tenant on which you want to change settings

**Headers should be -**

content-type - application/json

authorization - Bearer (You need a valid bearer token, just copy it from any other request)


**The body should look like that -&#x20;**

:::BlockQuote

\{
&#x20;   "theme": \{
&#x20;       "variables": \{
&#x20;           "NEW\_DESIGN\_\_primaryColor-6": "#0074ff"
&#x20;       }
&#x20;   }
}

:::

In the variables array, you should put colors for the new design, [here](https://app.archbee.com/docs/ffeACTZ47_Cw3ctxvLLBM/KIOlyib-jZJveTKSYKPjx) you can check what each variable does. &#x20;

Most variables are in HEX, but those that have RGB in the name use RGB.

<font color="#ff0000">Keep in mind that if you want to use multiple variables, you need to use them all in one request, pushing only one variable will reset everything else to default.</font>

**Here is an example of curl -&#x20;**

:::BlockQuote
curl --location --request PUT 'https\://volodymyro.hyper1.net/v2-core/tenant' \\
\--header 'content-type: application/json' \\
\--header 'authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Im05MXk3M2ZqMzcifQ.eyJ0ZW5hbnRJZCI6InZvbG9keW15cm8iLCJzdWIiOiJvVEtLSXdaZHJWVU9IdU5DRHVXclgiLCJlbnRpdHlEb21haW4iOm51bGwsImdyb3VwcyI6WyJvd25lcklzX19vVEtLSXdaZHJWVU9IdU5DRHVXclgiLCJoeXBlclVzZXJzIiwiaHlwZXJBZG1pbnMiLCJoeXBlclBsYXRmb3JtQWRtaW5zIl0sInRlbmFudFBlcm1pc3Npb25zIjpbIlBPUlRBTCIsIkNNUyIsIldPUktGTE9XUyIsIkhZUEVSX0NSRURFTlRJQUxTIiwiQlVMS19FRElUIiwiUFJPQ0VTU19DQU5DRUxMQVRJT04iLCJIWVBFUl9CSSIsIkFQUF9BRE1JTiIsIkhZUEVSX0ZPUk1TIiwiQ01TX0VYUE9SVCIsIklOVEVHUkFUSU9OIiwiTUFJTF9URU1QTEFURVMiLCJ6Qkp4dGJZd0RoTkduQlNWdHRSbU4iLCJQQVlNRU5UX1NVQlNDUklQVElPTiIsIlBMQVRGT1JNX0FETUlOIl0sInRlbmFudERlZmF1bHRMYW5ndWFnZSI6ImVuIiwiYXVkIjpbIkhZUEVSIiwiZWNvbW0iXSwiaWF0IjoxNjYyMDM5Njg3LCJleHAiOjE2NjIwNDE0ODd9.gg294EGHK1hHdb-4VbUnOR3bz-XGnw22ai0GTvprBDIIjgo4fj0VabDW1O4eQOK0LLJRzev5kw7V9UhYvL3fpDQdC9SV7HhWRpsCbhGVC3wL\_s9c97MV3u\_vYFPCyV0v\_IO7\_n0oOcsxZYqCX2jW3QZyot4iKrt8tuiCAbH6iYLIbLsp5cQplsiIOYuZni8ZoDgWfUa7Dx1ouMYTGV5vRlqMokJDYeoml41u1cVH7pmcL1lyTZnNY73Up8vP5fHaiWu7RSRw8Jejx2iCVEPjrmRPy3ZL0nyeVEVwY3cIukDpkPYpf3CVO6LvMaht4ATY\_X1Jo4ALe26SVXgG4aMhdg' \\
\--data-raw '\{
&#x20;   "theme": \{
&#x20;       "variables": \{
&#x20;           "NEW\_DESIGN\_\_primaryColor-6": "#0074ff"
&#x20;       }
&#x20;   }
}'
:::

