user.shell_choices

Return the available shell choices to be used in user.create and user.update.

group_ids is a list of local group IDs for the user.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: group_ids

group_ids

Type: array of integer Default: []
No Additional Items
Each item of this array must be:
Type: integer

Result

Type: object

Example:

{
    "/usr/bin/bash": "bash",
    "/usr/bin/dash": "dash",
    "/usr/bin/rbash": "rbash",
    "/usr/bin/sh": "sh",
    "/usr/bin/tmux": "tmux",
    "/usr/bin/zsh": "zsh",
    "/usr/sbin/nologin": "nologin"
}


Required roles: ACCOUNT_READ | READONLY_ADMIN