{ "lexicon": 1, "id": "place.hud.deleteTheme", "description": "Delete a theme the person made.", "defs": { "main": { "type": "procedure", "description": "Delete one of the person's own place.hud.theme records. Those who chose it, the person among them, keep its colours. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin on a procedure) or a HUD access token as Bearer.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "uri" ], "properties": { "uri": { "type": "string", "format": "at-uri", "description": "The theme, one of the person's own." } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "properties": {} } }, "errors": [ { "name": "InvalidRequest", "description": "Not a place.hud.theme of the person's own; or their PDS refused the delete." }, { "name": "AuthRequired", "description": "No live web session or HUD access token: sign in." } ] } } }