Skip to content
Pixmato
Esc
↑↓navigate↵open⌘Jpreview
On this page

Update Settings

Update workspace render defaults.

Update dashboard workspace settings. Brand colors are managed through the Brand Colors endpoints.

Endpoint

PATCH https://api.pixmato.com/v1/settings

Request

curl -X PATCH "https://api.pixmato.com/v1/settings" \
  -H "Content-Type: application/json" \
  -H "Cookie: __Secure-better-auth.session_token=..." \
  -d '{
    "renderDefaults": {
      "defaultFormat": "png",
      "defaultScale": 2,
      "defaultQuality": 90,
      "allowedOrigins": ["https://app.example.com"]
    }
  }'

Notes

  • Workspace slug is not configurable from the dashboard API.
  • defaultFormat can be png, jpeg, webp, or pdf.

Was this page helpful?