# Skin

\#SkinController

### Overview

* [PUT /id](#put-skinid)

### Description

Path /v2/skins/

Handles all requests regarding skin: creating, updating, deleting.

#### Skin JSON object

An example for a skin json object.

```
{
        "id":7, 
        "tenant":2, 
        "ciColor":"0xCB0112",
        "btnColorLight":"0x00ae6c",
        "btnColorDark":"0x009d60", 
        "mailHeaderImage":"https://path/to/some/image/header.jpg",
        "mailBackgroundColor":"#a1c0ae", 
        "tenantUrl":"www.someclient.at",
        "mailTemplatePath":"http://some/unknow/path/", 
        "loginBackground":"http://path/to/some/image/image.png",
        "referralUrl":"http://rtest.url.com",
        "hideMadeByRoomle":false,
        "hidePressLink":true,
        "hideShareButton":true,
        "hideFeedbackButton":true, 
            "hideCatalogOverview":false,
            "catalogEntryTags":["tag1","tag2"]" 
}
```

#### fields

* id : identifies the skin
* tenant : the tenant of skin
* ciColor : ?
* btnColorLight : button light color
* btnColorDark : button dark color
* mailHeaderImage : mail header image
* mailBackgroundColor : mail background image
* tenantUrl : tenant web url
* mailTemplatePath : path to mail template
* loginBackground : path to login background image
* referralUrl : referral url
* hideMadeByRoomle : hides made by roomle
* hidePressLink : hides press link
* hidesShareButton : hides share button
* hideFeedbackButton : hides feedback button
* hideCatalogOverview : hides catalog overview
* catalogEntryTags : catalog entry tags(categories)

### API Reference

#### PUT /skinId

Accepts: multipart-formdata

Generates: json

Update skin from tenant.

* Must be admin

Response:

```
{
    "skin": <updatedSkinJsonObject>
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roomle.com/rubens/rest-api/rest-api-reference/endpoints/skin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
