action flat_create_organization_user { label: "Create a new user account" provider: flat method: POST path: "/organizations/users" encoding: json input: { type: "object" description: "User creation" required: ["password", "username"] properties: { email: { type: "string" format: "email" description: "Email of the new account" } firstname: { type: "string" description: "First name of the user" } lastname: { type: "string" description: "Last name of the user" } locale: { type: "string" description: "The user language" enum: ["en", "en-GB", "es", "fr", "de", "it", "ja", "ko", "nl", "pl", "pt", "pt-BR", "ro", "ru", "sv", "tr", "zh-Hans"] } password: { type: "string" format: "password" description: "Password of the new account" } username: { type: "string" description: "Username of the new account" } } } output: { description: "User details (view for organization teacher / admin)" type: "object" } }