Skip to main content
The Users API allows you to create, view, update, and delete user accounts on the Pterodactyl Panel. Users can be assigned as server owners and can be granted administrative privileges.

List Users

Retrieves a paginated list of all users on the Panel.

Query Parameters

integer
default:"50"
Number of results per page
string
Filter users by email address
string
Filter users by UUID
string
Filter users by username
string
Filter users by external identifier
string
Sort by field. Available: id, uuid. Prefix with - for descending order

Response

string
Always list
array
Array of user objects

Get User Details

Retrieves details for a specific user.

Path Parameters

integer
required
The internal ID of the user

Query Parameters

string
Include related resources. Available: servers

Get User by External ID

Retrieves a user by their external identifier.

Path Parameters

string
required
The external identifier of the user

Create User

Creates a new user account on the Panel.

Request Body

string
required
User email address (must be unique)
string
required
Username (must be unique, will be converted to lowercase)
string
required
User’s first name
string
required
User’s last name
string
User password. If not provided, user will need to reset password
string
External identifier for third-party integrations (must be unique)
string
default:"en"
User’s preferred language code
boolean
default:false
Whether to grant administrator privileges

Response

Returns the created user object with HTTP status 201 Created.

Update User

Updates an existing user’s information.

Path Parameters

integer
required
The internal ID of the user to update

Request Body

All fields are optional. Only include fields you want to update.
string
New email address
string
New username
string
New first name
string
New last name
string
New password
string
New external identifier
string
New language preference
boolean
Update administrator status

Response

Returns the updated user object.

Delete User

Deletes a user from the Panel. The user must not own any servers.

Path Parameters

integer
required
The internal ID of the user to delete

Response

Returns HTTP status 204 No Content on successful deletion.
A user cannot be deleted if they currently own any servers. Transfer or delete their servers first.