Preparing search index...
The search index is not available
pterodactyl.ts
pterodactyl.ts
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
Sub
User
(
userClient
,
subuserProps
,
parentServer
)
:
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
parent
Server
:
Server
permissions
permissions
:
UserPermission
[]
Readonly
username
username
:
string
Readonly
uuid
uuid
:
string
Methods
delete
delete
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
update
Permissions
update
Permissions
(
permissions
)
:
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.