---
title: Update Settings
description: Update workspace render defaults.
icon: sliders-horizontal
---

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

## Endpoint

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

## Request

```bash
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`.
