Reference
workspace · setTheme
Requires membership only.
Authorization
bearerAuth AuthorizationBearer <token>
An API key from Settings → Connect to Agents, or an OAuth access token. Never the session cookie.
In: header
Path Parameters
orgSlug*string
The workspace. Membership is what authorizes it.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/string/workspace/setTheme" \ -H "Content-Type: application/json" \ -d '{ "preference": "system" }'{ "ok": true, "data": null}