Actions29
- Server Actions
- File Actions
- Database Actions
- Backup Actions
- Account Actions
File → Create Folder
AI-generatedSummary
Create a new folder in a specified directory on a Pterodactyl-managed server using either client-level or admin-level API authentication.
Inputs
- Authentication — Select between Client API (user-level) or Application API (admin-level) authentication for access.
- Server Identifier (required) — The alphanumeric server ID from your Pterodactyl Panel URL where the folder will be created.
- Root Directory (required) — The parent directory path on the server in which to create the new folder (e.g., "/").
- Folder Name (required) — The name of the new folder to create under the specified root directory.
Output shape
a single record
Returns a JSON object representing the created folder's details or an error message if creation fails.
Examples
Example 1: Create a folder named 'logs' in the root directory ('/') on server 'abc12def' using client API authentication.
authentication: clientApi; serverId: abc12def; root: /; name: logs