Subusers
User details
Retrieves information about a specific user
GET
/api/client/servers/{server}/users/{subuser}Authorization
ClientToken AuthorizationBearer <token>
Client API key (generated at /account/api)
In: header
Path Parameters
server*string
Server identifier (short 8-character ID)
subuser*string
Subuser UUID
Response Body
application/json
curl -X GET "https://pterodactyl.file.properties/api/client/servers/1a7ce997/users/60a7aec3-e17d-4aa9-abb3-56d944d204b4" \ -H "Authorization: Bearer ptlc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ -H "Accept: application/json"{
"object": "server_subuser",
"attributes": {
"uuid": "60a7aec3-e17d-4aa9-abb3-56d944d204b4",
"identifier": "60a7aec3",
"username": "subuser2jvc",
"email": "[email protected]",
"image": "https://gravatar.com/avatar/3bb1c751a8b3488f4a4c70eddfe898d8",
"2fa_enabled": false,
"created_at": "2020-06-12T23:31:41+01:00",
"permissions": [
"control.console",
"control.start",
"websocket.connect"
]
}
}