action rudder_create_group_category { label: "Create a group category" description: "Create a new group category" provider: rudder method: PUT path: "/groups/categories" encoding: json input: { type: "object" required: ["name", "parent"] properties: { description: { type: "string" description: "Group category description" } id: { type: "string" format: "uuid" description: "Group category id, only provide it when needed." } name: { type: "string" description: "Name of the group category" } parent: { type: "string" format: "uuid" description: "The parent category of the groups" } } } output: { type: "object" required: ["action", "data", "result"] properties: { action: { type: "string" description: "The id of the action" enum: ["CreateGroupCategory"] } data: { type: "object" required: ["groupCategories"] properties: { groupCategories: { type: "array" items: { type: "object" required: ["parent", "name"] properties: { description: { type: "string" description: "Group category description" } id: { type: "string" format: "uuid" description: "Group category id, only provide it when needed." } name: { type: "string" description: "Name of the group category" } parent: { type: "string" format: "uuid" description: "The parent category of the groups" } } } } } } result: { type: "string" description: "Result of the request" enum: ["success", "error"] } } } }