Pterodactyl (Deprecated) icon

Pterodactyl (Deprecated)

⚠️ DEPRECATED: Use "Pterodactyl Client" for user-level operations or "Pterodactyl Application" for admin operations instead. This node will be removed in a future version.

Database → Create

AI-generated

Summary

Create a new database on a specified Pterodactyl server using either user-level or admin-level API authentication.

Inputs

  • Authentication (required) — Choose between Client API (user-level) or Application API (admin-level) authentication for the request.
  • Server Identifier (required) — The alphanumeric identifier of the server from Pterodactyl Panel, found in the server's URL.
  • Database Name (required) — The name of the database to create, limited to a maximum of 48 characters.
  • Remote Access Pattern (required) — Pattern defining remote access permissions for the database, e.g., % for all hosts or 127.0.0.1 for localhost only.

Output shape

a single JSON object containing details of the created database.

The operation returns the created database's details as a JSON object. Errors during creation are handled according to the node's error handling settings (continue on fail or throw). This operation requires proper API credentials configured based on chosen authentication.

Examples

Example 1: Create a new database named 'my_database' on server 'abc12def' with full remote access.

Set Authentication to 'Client API' or 'Application API', Server Identifier to 'abc12def', Database Name to 'my_database', and Remote Access Pattern to '%'.

Discussion