action discourse_update_category { label: "Updates a category" provider: discourse method: PUT path: "/categories/{id}.json" encoding: json input: { type: "object" properties: { allow_badges: { type: "boolean" } color: { type: "string" } form_template_ids: { type: "array" items: { type: "object" } } id: { type: "integer" } name: { type: "string" } parent_category_id: { type: "integer" } permissions: { type: "object" properties: { everyone: { type: "integer" } staff: { type: "integer" } } } search_priority: { type: "integer" } slug: { type: "string" } text_color: { type: "string" } topic_featured_links_allowed: { type: "boolean" } } required: ["id", "name"] additionalProperties: false } output: { required: ["category", "success"] properties: { category: { type: "object" required: ["all_topics_wiki", "allow_badges", "allow_unlimited_owner_edits_on_first_post", "auto_close_based_on_last_post", "auto_close_hours", "available_groups", "can_delete", "can_edit", "color", "custom_fields", "default_list_filter", "default_slow_mode_seconds", "default_top_period", "default_view", "description", "description_excerpt", "description_text", "email_in", "email_in_allow_strangers", "form_template_ids", "group_permissions", "has_children", "id", "mailinglist_mirror", "minimum_required_tags", "name", "navigate_to_first_post_after_read", "notification_level", "num_featured_topics", "permission", "position", "post_count", "read_only_banner", "read_restricted", "required_tag_groups", "search_priority", "show_subcategory_list", "slug", "sort_ascending", "sort_order", "subcategory_list_style", "text_color", "topic_count", "topic_featured_link_allowed", "topic_template", "topic_url", "uploaded_background", "uploaded_logo", "uploaded_logo_dark"] properties: { all_topics_wiki: { type: "boolean" } allow_badges: { type: "boolean" } allow_global_tags: { type: "boolean" } allow_unlimited_owner_edits_on_first_post: { type: "boolean" } allowed_tag_groups: { type: "array" items: { type: "object" } } allowed_tags: { type: "array" items: { type: "object" } } auto_close_based_on_last_post: { type: "boolean" } auto_close_hours: { type: ["string", "null"] } available_groups: { type: "array" items: { type: "object" } } can_delete: { type: "boolean" } can_edit: { type: "boolean" } color: { type: "string" } custom_fields: { type: "object" properties: {} additionalProperties: false } default_list_filter: { type: "string" } default_slow_mode_seconds: { type: ["string", "null"] } default_top_period: { type: "string" } default_view: { type: ["string", "null"] } description: { type: ["string", "null"] } description_excerpt: { type: ["string", "null"] } description_text: { type: ["string", "null"] } email_in: { type: ["string", "null"] } email_in_allow_strangers: { type: "boolean" } form_template_ids: { type: "array" items: { type: "object" } } group_permissions: { type: "array" items: { type: "object" required: ["permission_type", "group_name"] properties: { group_name: { type: "string" } permission_type: { type: "integer" } } additionalProperties: false } } has_children: { type: ["string", "null"] } id: { type: "integer" } mailinglist_mirror: { type: "boolean" } minimum_required_tags: { type: "integer" } name: { type: "string" } navigate_to_first_post_after_read: { type: "boolean" } notification_level: { type: "integer" } num_featured_topics: { type: "integer" } permission: { type: ["string", "null"] } position: { type: "integer" } post_count: { type: "integer" } read_only_banner: { type: ["string", "null"] } read_restricted: { type: "boolean" } required_tag_groups: { type: "array" items: { type: "object" required: ["name", "min_count"] properties: { min_count: { type: "integer" } name: { type: "string" } } additionalProperties: false } } search_priority: { type: "integer" } show_subcategory_list: { type: "boolean" } slug: { type: "string" } sort_ascending: { type: ["string", "null"] } sort_order: { type: ["string", "null"] } subcategory_list_style: { type: "string" } text_color: { type: "string" } topic_count: { type: "integer" } topic_featured_link_allowed: { type: "boolean" } topic_template: { type: ["string", "null"] } topic_url: { type: ["string", "null"] } uploaded_background: { type: ["string", "null"] } uploaded_logo: { type: ["string", "null"] } uploaded_logo_dark: { type: ["string", "null"] } } additionalProperties: false } success: { type: "string" } } additionalProperties: false } }