Skip to Content
Dialtone
API referenceInstance

PATCH /api/instance/

GET (public): {"project_name", "theme", "logo_url"}. PATCH (super admins): project_name and/or theme.

PATCH
/api/instance/

Authorization

cookieAuth
cookiesessionid<token>

Request Body

  1. body

GET: everything. PATCH: any of project_name and theme (at least one). The logo has its own endpoint.

project_name?string
Lengthlength <= 60
theme?ThemeEnum
  • saffron - Saffron
  • ocean - Ocean
  • forest - Forest
Value in"saffron""ocean""forest"

Response Body

application/json
  1. response

GET: everything. PATCH: any of project_name and theme (at least one). The logo has its own endpoint.

project_name?string
Lengthlength <= 60
theme?ThemeEnum
  • saffron - Saffron
  • ocean - Ocean
  • forest - Forest
Value in"saffron""ocean""forest"
logo_url*string|null
Example Request
curl -X PATCH 'https://example.com/api/instance/' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "project_name": "string",  "theme": "saffron",  "logo_url": "string"}