meta { name: Update Theme type: http seq: 2 } put { url: {{appview_url}}/api/admin/themes/{{theme_rkey}} } body:json { { "name": "Neobrutal Light (Updated)", "colorScheme": "light", "tokens": { "color-bg": "#f5f0e8", "color-text": "#1a1a1a", "color-primary": "#ff5c00" } } } assert { res.status: eq 200 res.body.uri: isDefined res.body.cid: isDefined } docs { Update an existing theme record. Full replacement of the PDS record. Optional fields (cssOverrides, fontUrls) fall back to their existing values when omitted from the request body. **Requires:** space.atbb.permission.manageThemes Path params: - rkey: Theme record key (TID) Body: same as Create Theme (all fields). Returns (200): { "uri": "at://did:plc:.../space.atbb.forum.theme/abc123", "cid": "bafyrei..." } Error codes: - 400: Invalid input (same as Create Theme) - 401: Not authenticated - 403: Missing manageThemes permission - 404: Theme not found - 500: ForumAgent not configured (server configuration issue) - 503: ForumAgent not authenticated or PDS network error }