styles
Styles

Update Style

patch/styles/{path}

Request

  • Base URL
    https://app.files.com/api/rest/v1
  • URL
    https://app.files.com/api/rest/v1/styles/{path}
  • Auth
    none declared

Path parameters

pathstring required

Style path.

Request body multipart/form-data

filestring binary

Logo for custom branding. Required when creating a new style.

logo_click_hrefstring

URL to open when a public visitor clicks the logo.

Example request

{
  "logo_click_href": "https://www.example.com"
}

Response

The Styles object.

idinteger

Style ID

pathstring

Folder path

logo_click_hrefstring

URL to open when a public visitor clicks the logo

Example response

{
  "id": 1,
  "path": "example",
  "logo": {
    "name": "My logo",
    "uri": "https://mysite.files.com/.../my_image.png"
  },
  "logo_click_href": "https://www.example.com",
  "thumbnail": {
    "name": "My logo",
    "uri": "https://mysite.files.com/.../my_image.png"
  }
}

Changes