action rudder_get_user_info { label: "List all users" description: "Get the list of all present users and their permissions" provider: rudder method: GET path: "/usermanagement/users" encoding: json output: { type: "object" required: ["action", "data", "result"] properties: { action: { type: "string" description: "The id of the action" enum: ["getUserInfo"] } data: { type: "object" required: ["digest", "users"] properties: { digest: { type: "string" enum: ["BCRYPT", "SHA512", "SHA256", "SHA1", "MD5"] } users: { type: "array" items: { type: "object" properties: { isPreHahed: { type: "boolean" description: "If you want to provide hashed password set this property to `true` otherwise we will hash the plain password and store the hash" enum: [false, true] } password: { type: "string" description: "this password will be hashed for you if the `isPreHashed` is set on false" } role: { type: "array" description: "Defined user's permissions" items: { type: "string" } } username: { type: "string" } } } } } } result: { type: "string" description: "Result of the request" enum: ["success", "error"] } } } }