v1.12.0
This commit is contained in:
@@ -20,15 +20,17 @@ type CreateRequest struct {
|
||||
|
||||
// Password of user
|
||||
// Required: false
|
||||
// Default: strongpassword
|
||||
Password string `url:"password,omitempty" json:"password,omitempty"`
|
||||
|
||||
// List of groups this user belongs to.
|
||||
// Required: false
|
||||
Groups []string `url:"groups,omitempty" json:"groups,omitempty"`
|
||||
|
||||
// List of apiaccess groups this user belongs to.
|
||||
// Required: false
|
||||
APIAccess []uint64 `url:"apiaccess,omitempty" json:"apiaccess,omitempty"`
|
||||
|
||||
// Provider of user
|
||||
// one of: bvs, decs3o
|
||||
// Required: false
|
||||
Provider string `url:"provider,omitempty" json:"provider,omitempty" validate:"omitempty,userProvider"`
|
||||
}
|
||||
|
||||
// Create creates a user.
|
||||
|
||||
Reference in New Issue
Block a user