Skip to main content
PUT
/
services
/
{service}
/
details
/
{section}
curl --request PUT \ --url https://docs.dezerx.com/api/application/services/{service}/details/{section} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Per Hour Minecraft - Anthony S", "config": { "memory": 4096, "disk": 10240, "cpu": 400, "allocations": 2, "backups": 3, "databases": 2, "enable_dezerx_manager": true, "enable_plugin_manager": true, "enable_mod_manager": true } } '
{
  "data": {
    "provider": {
      "key": "PterodactylService",
      "name": "Pterodactyl",
      "description": "<string>"
    },
    "service": {
      "id": 485,
      "status": "active",
      "name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "editable_sections": [],
    "sections": [
      {
        "key": "<string>",
        "label": "<string>",
        "editable": true,
        "data": {},
        "fields": [
          {}
        ],
        "editFields": [
          {}
        ],
        "editConfigFields": [
          {}
        ],
        "update_endpoint": "<string>"
      }
    ]
  },
  "meta": {},
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

service
integer
required
section
enum<string>
required
Available options:
server,
user,
account,
license,
per-hour

Body

application/json

Dynamic provider payload. First call GET /services/{service}/details and locate the selected section. Send only keys listed in editFields, plus configuration keys listed in editConfigFields. Per-hour sections instead advertise their accepted operations. Provider-specific IDs are intentionally not hard-coded into this schema.

Response

Provider service-details response

data
object
required
meta
object
required
message
string