pterodactyl.ts
Preparing search index...
SubUser
Class SubUser
Implements
ServerSubuserAttributes
Index
Constructors
constructor
Properties
2fa_
enabled
created_
at
email
image
parent
Server
permissions
username
uuid
Methods
delete
update
Permissions
Constructors
constructor
new
SubUser
(
userClient
:
UserClient
,
subuserProps
:
RawServerSubuser
,
parentServer
:
Server
,
)
:
SubUser
Parameters
userClient
:
UserClient
subuserProps
:
RawServerSubuser
parentServer
:
Server
Returns
SubUser
Properties
Readonly
2fa_
enabled
"2fa_enabled"
:
boolean
Readonly
created_
at
created_at
:
Date
Readonly
email
email
:
string
Readonly
image
image
:
string
Readonly
parent
Server
parentServer
:
Server
permissions
permissions
:
UserPermission
[]
Readonly
username
username
:
string
Readonly
uuid
uuid
:
string
Methods
delete
delete
()
:
Promise
<
void
>
Returns
Promise
<
void
>
update
Permissions
updatePermissions
(
permissions
:
UserPermission
[]
)
:
Promise
<
void
>
Updates the permissions of the subuser.
Parameters
permissions
:
UserPermission
[]
The permissions to update the subuser with.
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
2fa_
enabled
created_
at
email
image
parent
Server
permissions
username
uuid
Methods
delete
update
Permissions
pterodactyl.ts
Loading...
Updates the permissions of the subuser.