action discourse_update_topic_status { label: "Update the status of a topic" provider: discourse method: PUT path: "/t/{id}/status.json" encoding: json input: { type: "object" properties: { "Api-Key": { type: "string" } "Api-Username": { type: "string" } enabled: { type: "string" enum: ["true", "false"] } id: { type: "string" } status: { type: "string" enum: ["closed", "pinned", "pinned_globally", "archived", "visible"] } until: { type: "string" description: "Only required for `pinned` and `pinned_globally`" } } required: ["Api-Key", "Api-Username", "enabled", "id", "status"] additionalProperties: false } output: { type: "object" properties: { success: { type: "string" } topic_status_update: { type: ["string", "null"] } } } }