---
title: "Rename or re-brand the workspace (admins). The slug/address is not editable."
method: PATCH
path: "/api/v1/tenants/current"
tags: ["Tenant"]
---

# Rename or re-brand the workspace (admins). The slug/address is not editable.

`PATCH /api/v1/tenants/current`

## Request

- Base URL: `https://qrlia.dev.castlesoft.eu`
- URL: `https://qrlia.dev.castlesoft.eu/api/v1/tenants/current`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `qrc_session`

## Request body

- object
  - `name` string
  - `theme` object
    - `primaryColor` union: Hex #RRGGBB. Buttons, accents and the landing-page glow.
      - string
      - ''
    - `accentColor` union: Hex #RRGGBB. Secondary colour.
      - string
      - ''
    - `logoUrl` union: An uploaded asset (/uploads/…) or an https URL.
      - string
      - ''
    - `faviconUrl` union: An uploaded asset (/uploads/…) or an https URL.
      - string
      - ''
    - `fontFamily` union: CSS font-family list, e.g. "Georgia, serif".
      - string
      - ''
    - `footerText` union
      - string
      - ''
    - `defaultCta` union: Call-to-action on QR frames, e.g. SCAN ME.
      - string
      - ''

## Response `200`

Updated

- object

## Other responses

- `400`: Validation failed
- `401`: Authentication required
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `500`: Internal

---

[API](https://skmtc.dev/qrlia/apis/qrlia-api.md) · [All operations](https://skmtc.dev/qrlia/apis/qrlia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qrlia/apis/qrlia-api/revisions/01c5dd6002ab?raw)
