Skip to content

User

Bases: DuploResource

create

Create a new user.

CLI Usage

duploctl user create -f 'user.yaml'
Contents of the user.yaml file
Username: nobody@example.com
Roles:
- User
VpnPassword: "********"
ApiTokens: []
IsReadOnly: false
IsVpnConfigCreated: false
IsVpnConfigUpdated: false
IsConfirmationEmailSent: false
Devspaces:
  IsEnabled: false
  IsAdmin: false
SourceLastRefresh: 0

Parameters:

Name Type Description Default
body BODY

The user body.

required

Returns:

Name Type Description
message dict

A success message.

delete

Delete a User.

CLI Usage
duploctl user delete <name>

Parameters:

Name Type Description Default
name NAME

The name of the user to delete.

required

Returns:

Name Type Description
message dict

A success message.

find

Find a User by their username.

list

Retrieve a list of all users in the Duplo system.