ServerAvatarDocs
API Reference

Applications API

List, create, change, run and delete applications, and manage their domains, certificates, deployments and containers through the OSS Panel API.

An application is one site or app on the server: a WordPress install, a Git project, a Node.js app, a static site, a Docker container. This page covers the endpoints in the panel's applications route file: the catalogue of what you can create, the application record itself, the actions that start, stop, pause and delete it, and the sub-resources that belong to it (domains, certificate, deployments, container, deploy-on-push).

The other per-application screens (files, logs, PHP, environment, staging, clone, firewall and so on) are on Application feature endpoints.

All paths are relative to https://<your-panel-host>/api. Read Authentication first, and the conventions on the API index for the response envelope, timestamps and pagination.

The examples use two shell variables:

PANEL=https://panel.example.com
TOKEN='1|xcMq8K3vZ2pL…'

Permissions

KeyTitle in RolesUsed for
applicationApplicationsThe list, create, update, delete, actions and catalogue endpoints.
app_domainDomains & SSLDomains and certificate.
app_deploymentDeploymentsDeployments, deploy settings, deploy-on-push, Git account.
app_containerContainerContainer settings, image pull, generated credentials.
app_composeCompose FileReading and replacing the compose file, command-line access details.
app_magic_loginMagic LoginWordPress one-click administrator sign-in.

Reading needs the view grant; every endpoint marked manage below needs manage, which implies view. The app_* permissions are per site: a site type that does not have that screen (a WordPress site has no Deployments, for example) answers 404 instead of 403, whatever the caller's role.

Some endpoints check a second permission for the extra thing they do. Those are noted in the endpoint's section.

Endpoint index

MethodPathPermissionPurpose
GET/server/capabilitiesapplicationWhat the server can run (stack, web server, capabilities).
GET/site-typesapplicationThe catalogue of site types with their create fields.
GET/recipesapplicationThe Docker app recipes only.
GET/recipes/{recipe}applicationOne recipe.
GET/applicationsapplicationList, search, filter, sort.
POST/applicationsapplication manageCreate an application.
GET/applications/port-checkapplicationIs a port free?
GET/applications/{application}applicationOne application.
GET/applications/{application}/sidebarapplicationThe screens this caller may open for the application.
PUT/applications/{application}application manageChange settings.
DELETE/applications/{application}application manageDelete.
POST/applications/{application}/provisionapplication manageRetry a failed install.
POST/applications/{application}/process/{action}application manageStart, stop or restart the app's process.
POST/applications/{application}/supervisor/convertapplication manageMove an adopted Node.js app onto a systemd unit.
POST/applications/{application}/disableapplication manageTake the site offline.
POST/applications/{application}/enableapplication manageBring it back.
POST/applications/{application}/directory-sizeapplication manageMeasure the site's folder now.
POST/applications/{application}/detect-typeapplication manageRead the disk to guess the site type.
PUT/applications/{application}/site-typeapplication manageRelabel the site type.
PUT/applications/{application}/web-rootapplication manageChange the web root.
PUT/applications/{application}/node-versionapplication manageSwitch the Node.js version.
GET, POST/applications/{application}/root-lockapplication / manageRead or set the folder lock.
GET, POST/applications/{application}/domainsapp_domain / manageList or add domains.
PUT, DELETE/applications/{application}/domains/{domain}app_domain manageChange or remove a domain.
POST/applications/{application}/domains/{domain}/verifyapp_domainCheck DNS.
POST/applications/{application}/domains/{domain}/primaryapp_domain manageMake a domain the primary.
GET, POST, DELETE/applications/{application}/certificateapp_domain / manageRead, issue or upload, remove.
GET, POST/applications/{application}/certificate/dry-runapp_domain / manageRun or read an issuance rehearsal.
PUT/applications/{application}/certificate/force-httpsapp_domain manageRedirect HTTP to HTTPS.
GET, POST/applications/{application}/magic-loginapp_magic_login manageList WordPress administrators, create a sign-in link.
GET, POST/applications/{application}/deploymentsapp_deployment / manageHistory, start a deploy.
GET/applications/{application}/deployments/latestapp_deploymentThe newest deployment.
GET/applications/{application}/deployments/{deployment}app_deploymentOne deployment with its log.
POST/applications/{application}/deployments/{deployment}/redeployapp_deployment manageDeploy again.
POST/applications/{application}/deployapp_deployment manageOlder deploy endpoint (Git sites).
PUT/applications/{application}/deployment-settingsapp_deployment manageBranch, script, auto deploy.
PUT/applications/{application}/git-accountapp_deployment managePoint the site at another account or repository.
GET/webhook-providersapplicationProviders for deploy-on-push.
PUT/applications/{application}/webhookapp_deployment manageConfigure deploy-on-push.
PUT/applications/{application}/containerapp_container manageContainer settings.
POST/applications/{application}/container/pullapp_container managePull the newest image and recreate.
GET/applications/{application}/container/secretsapp_container manageGenerated credentials.
POST/applications/{application}/container/secrets/acknowledgeapp_container manageMark the credentials as saved.
GET, PUT/applications/{application}/container/composeapp_compose / manageRead or replace the compose file.
GET/applications/{application}/container/accessapp_composeDetails for command-line access.
POST, DELETE/applications/{application}/container/accesssystem_user manageTurn container sign-in on or off.

{application} is the application's numeric id. An id that does not exist answers 404.

Several mutating endpoints carry their own limit on top of the shared budget (see Rate limits): 10 per minute for enable/disable, directory size, web root, Node.js version, site-type, root-lock, supervisor convert and the container settings and compose writes; 6 per minute for the image pull and for reading the secrets; 20 per minute for acknowledging them; 30 per minute for the Git account change; 60 per minute for reading the compose file and the access details.

What the server can run

GET /server/capabilities

curl "$PANEL/api/server/capabilities" \
  -H "Authorization: Bearer $TOKEN" -H 'Accept: application/json'

Returns {"capabilities": {"stack", "web_server", "capabilities", "source", "verified_at"}}: the stack and web server the panel found, the capability list it detected, where that list came from, and when it was last checked.

GET /site-types

The card grid the Create application screen draws. One entry per site type, each with its create fields:

{
  "site_types": [
    {
      "name": "wordpress",
      "title": "WordPress",
      "category": "cms",
      "method": "one_click",
      "serving_profile": "php",
      "needs_database": true,
      "accepted_engines": ["mariadb", "mysql"],
      "available": true,
      "unavailable_reason": null,
      "unavailable_code": null,
      "fields": [ … ],
      "recipe": null
    }
  ]
}
KeyMeaning
nameThe value to send as site_type when creating.
title, tagline, icon, category, popularWhat the card shows.
methodone_click, git or custom.
serving_profileHow it is served: php, static, node, docker and so on.
needs_database, accepted_enginesWhether it needs a database and which engines it accepts.
available, unavailable_reason, unavailable_code, installable_runtimeWhether this server can run it now. A greyed type is refused on create with the same reason. unavailable_code is runtime, database, web_server or php_version.
has_installerWhether the panel installs it for you.
node_version_range, php_version_rangeThe runtime versions it supports, when it limits them.
fieldsThe type's own create fields. The create request is validated against these.
recipeA summary for a Docker app recipe, otherwise null.

Types that this server cannot offer at all (a stack or a deprecated type) are left out of the list.

The built-in types are docker, wordpress, nextcloud, joomla, moodle, mautic, craftcms, akaunting, statamic, prestashop, phpmyadmin, adminer, uptimekuma, n8n, nodered, nodebb, git, php and static. The ready-made Docker app recipes are added to the same list, each under its own name.

GET /recipes and GET /recipes/{recipe}

GET /recipes is the same catalogue filtered to the entries that have a recipe: {"recipes": [ … ]}. GET /recipes/{recipe} returns {"recipe": { … }} for one; an unknown name is 404. The {recipe} segment is lower case letters, digits and underscores, starting with a letter.

List applications

GET /applications

QueryTypeRules
searchstringUp to 255 characters; matches the name or the domain, case-insensitive.
filter[status]stringpending, provisioning, active, failed or paused. active leaves out paused sites; paused returns the ones taken offline.
filter[site_type]stringOne of the names from /site-types.
sortstringcreated_at, name, domain, status, site_type or directory_size_bytes. A leading - sorts descending (-name). Default is -created_at.
pageintegerPage number.
per_pageinteger1 to 100. Default 10.
curl "$PANEL/api/applications?filter[status]=active&sort=name&per_page=20" \
  -H "Authorization: Bearer $TOKEN" -H 'Accept: application/json'
{
  "applications": [
    {
      "id": 12,
      "name": "shop",
      "domain": "shop.example.com",
      "site_type": "wordpress",
      "site_type_title": "WordPress",
      "status": "active",
      "is_disabled": false,
      "created_at": "02-11-2026 09:14:03"
    }
  ],
  "meta": { "current_page": 1, "per_page": 20, "total": 1, "last_page": 1 }
}

Each item is the full application object described below, shortened here. Requesting the list also queues a size measurement for sites that were never measured.

Read one application

GET /applications/{application}

Returns {"application": { … }}. The fields you will use most:

FieldMeaning
id, name, slug, domain, urlIdentity and address. name cannot be changed after create.
site_type, site_type_title, serving_profile, rendering_typeWhat it is and how it is served.
status, status_titlepending, provisioning, active or failed.
is_disabled, disabled_attrue while the site is paused. A paused site still has status active.
steps, failed_step, failed_reason, failed_reason_title, referenceInstall progress and, after a failure, why and the error log reference.
system_user{id, username}: the Linux account that owns the site.
document_root, path, web_rootWhere the code lives.
php_version, node_version, app_port, internal_portRuntime settings.
build_command, start_command, process_instances, has_process, processNode.js settings and live process state.
git_account_id, repository, repository_url, branch, last_commit, last_deployed_at, webhookGit settings and deploy-on-push state. The webhook secret is shown only to callers with manage on Deployments.
image, container_port, memory_limit, cpu_limit, docker_network, volume_mounts, registry_id, container_statusDocker settings.
basic_auth_enabled, waf_enabled, waf_mode, ai_bot_policy, fail2ban_enabledProtection state.
is_staging, production_application_id, has_staging, cloned_from_application_idStaging and clone links.
directory_size_bytes, directory_size_measured_atLast measured folder size.
created_at, created_at_humanTimestamps.

Dates are DD-MM-YYYY HH:mm:ss with a _human sibling, as everywhere else.

While an application installs, poll this endpoint (and …/sidebar). Both count against the separate progress budget, not the shared one.

GET /applications/{application}/sidebar

Returns {"items": [ … ]}: the screens of this application that the caller's role allows and the site type has.

Create an application

POST /applications

Needs manage on Applications. Answers 201 with the record, immediately, with status pending; the install then runs in the background. Poll GET /applications/{application} until status is active or failed.

curl -X POST "$PANEL/api/applications" \
  -H "Authorization: Bearer $TOKEN" -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "site_type": "php",
    "name": "shop",
    "domain": "shop.example.com",
    "generate_system_user": true,
    "php_version": "8.3"
  }'
{
  "application": { "id": 12, "name": "shop", "status": "pending", … },
  "warnings": []
}

warnings is always a list: things worth knowing about a site that was created anyway, for example a container port the Docker image does not declare.

Fields every type takes

FieldTypeRequiredRules
site_typestringyesA name from /site-types. The server must be able to run it.
namestringyesUp to 240 characters, one line, not used by another application, and not a name the server already uses on disk (for example www or panel).
domainstringyesA valid hostname, up to 255 characters, not used by any other application, not the panel's own host. Lower-cased for you.
domain_typestringnotemp for the temporary nip.io name, or custom for your own domain. A wildcard-DNS name is treated as temporary whatever you send.
generate_system_userbooleannotrue creates a Linux account for the site. Needs manage on System Users.
system_userobjectnoWith generate_system_user: true: username (^[a-z_][a-z0-9_-]{0,31}$, not reserved, not taken, required in the object) and optional password (the panel's password rules).
system_user_idintegerwhen not generatingAn existing system user's id. Required unless generate_system_user is true, and refused when both are given.
php_versionstringnomajor.minor such as 8.3, installed on the server, and inside the type's supported range. Empty means the server default.
node_versionstringnoDigits and dots, up to 10 characters, installed on the server, inside the type's range.
database_enginestringnoAn engine the type accepts that is installed and recent enough. Only for types that use a database.
app_portintegerno1024 to 65535 and free.
start_commandstringnoUp to 500 characters; not a shell command line.
web_rootstringnoA relative path (letters, digits, ., _, -, /), up to 255, no ... Types with a fixed layout (Craft CMS, Statamic) accept only that value.

On top of these, each type has its own fields (they are in fields on /site-types). The three you are most likely to use:

git

FieldRules
git_sourceRequired: account or public_url.
git_account_id, repositoryRequired with account. repository is owner/name style, up to 255 characters.
repository_urlRequired with public_url; up to 255 characters, on a host the panel accepts.
branchRequired, up to 255 characters. The panel asks the Git host and refuses a branch that does not exist.
rendering_typeRequired: php, static, csr or ssr.
package_managerRequired for csr and ssr: npm, yarn, pnpm or bun.
start_command, app_portstart_command is required for ssr; app_port only applies to ssr.
build_command, deploy_scriptOptional. Up to 500 and 65535 characters.

wordpress

FieldRules
site_titleRequired, up to 255.
admin_userRequired, up to 60 characters: letters, digits, ., _, @, -.
admin_emailRequired, a valid email, up to 255.
admin_passwordRequired, at least 10 characters.
site_language, timezone, table_prefixOptional. The prefix is letters, digits and _, up to 20.

docker

FieldRules
imageRequired unless compose is sent. Up to 255 characters.
composeA pasted compose file, up to 131072 characters. When sent, env and volume_mounts are refused.
container_port1 to 65535. Filled from the image when you leave it out.
envUp to 100 rows of {key, value}. Keys match ^[A-Za-z_][A-Za-z0-9_]*$ and may not repeat.
volume_mountsUp to 20 rows of {volume, path}. Paths may not repeat.
memory_limit, cpu_limitOptional limits.
registry_idA stored registry credential. Needs view on Docker Registries.
docker_network, docker_network_new, volume_new, volume_pathUse an existing network or create one, and add a new volume.

Other one-click types (Nextcloud, Joomla, Moodle, Mautic, Craft CMS, Akaunting, Statamic, PrestaShop and the Node.js apps) take an admin account in the same way; read their fields from /site-types rather than guessing.

Change an application

PUT /applications/{application}

Only the fields you send change. Send what you want to change:

FieldRules
web_rootNullable, same rules as on create. Use the web root endpoint for the folder change itself.
build_command, start_commandNullable, up to 500 characters.
rendering_typephp, static, csr or ssr, and one this server can serve.
process_instances1 to 16. Above 1 needs a start command of the form node <entrypoint>.
app_port1024 to 65535 and not used by another site.
branchNullable, up to 255.
settingsAn object of type-specific settings.

name, domain and node_version are refused here (422): the name never changes, domains go through the domains endpoints, and the Node.js version has its own endpoint.

Returns {"application": { … }}.

Actions

POST /applications/{application}/provision

Retries a failed install. Answers 202 with the application, now provisioning. If it is already provisioning, nothing restarts and you get 202 with the current state.

POST /applications/{application}/process/{action}

{action} is start, stop or restart; anything else is 404. Works on applications that have a process of their own (Node.js apps). A site without one answers 422. A Docker application accepts only restart, which restarts its containers. A failed run answers 500 with a reference.

POST /applications/{application}/supervisor/convert

Moves an adopted Node.js app from the old panel's PM2 onto a systemd unit. This restarts the application. 422 when the app is not adopted or has no entry point to run; 500 with a reference when the move failed (the app is put back under PM2).

POST /applications/{application}/disable and /enable

Takes the site offline behind a small "unavailable" page and brings it back. Files, database and the app's process are left alone. Both return {"application": { … }} and use the is_disabled flag.

POST /applications/{application}/directory-size

Measures the site's folder now and returns {"directory_size": { … }}. The list never measures on its own, so this is the way to refresh the size.

GET /applications/port-check

QueryRules
portRequired, 1024 to 65535.
application_idOptional, an existing application to leave out of the check (so an app is not told its own port is taken).

Returns {"port_check": {"port", "reason", "service", "message"}}. reason is null when the port is free, otherwise why it is not (taken, or free but named after a service).

Delete an application

DELETE /applications/{application}

The record and the site's web-server configuration go; files, databases and the system user stay unless you ask for them to go. Send the flags in the JSON body or the query string:

FlagDefaultEffectExtra permission
remove_filesfalseDelete the site's files.none
remove_databasesfalseDrop the databases and users attached to the site.manage Databases
remove_system_userfalseRemove the site's Linux account.manage System Users
remove_docker_resourcesfalseRemove the site's Docker volumes and networks.manage Docker
remove_docker_imagesmanage DockerRemove the images the site used. If you leave it out, it is on only for callers who have manage Docker.manage Docker
curl -X DELETE "$PANEL/api/applications/12" \
  -H "Authorization: Bearer $TOKEN" -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{"remove_files": true, "remove_databases": true}'
{ "deleted": true }

A flag you may not use answers 403 with a message that names it. The answer is 200 even when a database could not be dropped: the response then lists what remained. Deleting is refused (503, "busy") while the site installs or a container redeploy is running, and with 422 while a backup or restore of the site is in progress. With remove_files, a site that server sync adopted is refused (422) when the panel cannot prove it owns all of the site's worker programs.

Site type, web root, Node.js version

POST /applications/{application}/detect-type

Reads the site's folder and suggests what it is. Returns {"site_type_detection": { … }}.

PUT /applications/{application}/site-type

Body {"site_type": "<name>"}, any name from /site-types. Which changes are allowed depends on the current type and on what the site's folder contains; a change that is not allowed is 422. Returns {"application": { … }}.

PUT /applications/{application}/web-root

Body {"web_root": "public"}. The key must be present; the value may be null. Rules as on create. Creates the folder, rewrites the web server configuration and reloads it. Returns {"application": { … }}.

PUT /applications/{application}/node-version

Body {"node_version": "22.11.0"}: the full x.y.z, already installed on the server and inside the type's supported range. The site restarts on the new version and switches back if it does not answer. Answers 202 while the switch runs (200 straight away if the site already runs that version); the application's node_version_change shows switching or failed.

GET /applications/{application}/root-lock and POST

GET returns {"root_lock": {"status", "path"}}: status is locked, unlocked or unknown, path is the site folder. POST locks the folder against its own user (for sites that server sync adopted, whose folder the panel did not create) and returns the same object; a refusal answers 422 with the reason in the message.

Domains

GET /applications/{application}/domains

Returns {"domains": [ … ]}, primary first, then by name. Each domain has id, domain, type (primary, alias or redirect), redirect_to, redirect_status, is_test, dns_verified, dns_resolved_ip, behind_proxy, certifiable and timestamps.

POST /applications/{application}/domains

Answers 201 with {"domain": { … }}.

FieldRules
domainRequired, valid hostname, up to 253 characters, unique on the server, not the panel's own host.
typealias (default) or redirect.
redirect_toRequired for redirect: an http:// or https:// URL, up to 2048 characters, with no spaces or ; # $ & ? " ' \ < >`.
redirect_status301, 302, 307 or 308.

PUT /applications/{application}/domains/{domain}

Changes what a name does, never what it is called: type, redirect_to, redirect_status with the same rules. To rename, delete and add.

POST /applications/{application}/domains/{domain}/verify

Checks the domain's DNS and returns {"domain": { … }} with the result.

POST /applications/{application}/domains/{domain}/primary

Makes the domain the primary. Returns the whole {"domains": [ … ]} list.

DELETE /applications/{application}/domains/{domain}

Answers 204. A domain from another application is 404.

Certificate

GET /applications/{application}/certificate

Returns {"certificate": { … } | null, "available_types": [ … ]}: the current certificate (or null) and the types this site may use now.

POST /applications/{application}/certificate

FieldRules
typeRequired: letsencrypt, custom or self_signed.
certificate, private_keyRequired for custom; each starts with -----BEGIN.
chainOptional, starts with -----BEGIN.
forceOptional boolean.

custom answers 201 once stored. letsencrypt and self_signed answer 202: issuing runs in the background, so read the certificate again to see the result.

POST /applications/{application}/certificate/dry-run and GET

POST (manage) starts a rehearsal of the Let's Encrypt issuance and answers 202 with {"dry_run": { … }}. GET returns the latest verdict, or {"dry_run": null} if none.

PUT /applications/{application}/certificate/force-https

Body {"force_https": true}. 422 when the site has no certificate.

DELETE /applications/{application}/certificate

Answers 204, also when there was none.

Magic Login (WordPress)

GET /applications/{application}/magic-login returns {"administrators": [{"id", "login", "name"}, …]}. POST with {"wp_user_id": 1} creates a one-time sign-in link for that administrator and answers 201 with {"magic_login": { … }}. Both need manage, since the list tells you which accounts can administer a customer's site. On a multisite install the panel answers 422.

Deployments (Git sites)

These return 404 for site types that have no repository.

GET /applications/{application}/deployments

Returns {"deployments": [ … ], "settings": { … }} newest first. settings carries the branch, repository, the current deploy_script, the default_deploy_script, auto_deploy, last_commit, last_deployed_at and the placeholders the script understands ({path}, {branch}, {domain}, {php} and the PHP aliases).

POST /applications/{application}/deployments

Queues a deploy. Answers 202 with {"deployment": { … }}. 422 when the Git account the site used is gone (see the Git account endpoint below).

GET /applications/{application}/deployments/latest and /{deployment}

latest returns {"latest": { … } | null}; the second returns {"deployment": { … }} with the log. Poll these while a deploy runs: they use the progress budget.

POST /applications/{application}/deployments/{deployment}/redeploy

Deploys again. Answers 202 with the new deployment.

PUT /applications/{application}/deployment-settings

FieldRules
branchUp to 255 characters: letters, digits, ., _, /, -.
deploy_scriptNullable, up to 65535 characters. A script that calls PHP the server does not have is refused.
webhook_enabledBoolean.

Returns {"settings": { … }}.

PUT /applications/{application}/git-account

Points the site at a different account, repository or public URL. The panel asks the Git host whether it can reach the repository before anything is stored.

FieldRules
git_sourceaccount or public_url. Filled in from what you send if left out.
git_account_idRequired with account; an existing Git account.
repositoryRequired with account; owner/name, up to 255. The site's current repository is used if left out.
repository_urlRequired with public_url, up to 255. The site's current URL is used if left out.
branchOptional, up to 255. Leave it out to keep the current branch.

So {"git_account_id": 5} alone is enough to give a site a new credential for the repository it already uses. For a public URL the panel checks that the URL answers and has the branch before it saves.

Returns {"application": { … }}.

POST /applications/{application}/deploy

The older single-call deploy, kept for compatibility: queues a manual deployment and answers 202 with the application. 422 for a site that is not a Git site or whose account is missing. Prefer POST …/deployments.

Deploy on push

GET /webhook-providers returns {"webhook_providers": [ … ]}: GitHub, GitLab and Bitbucket.

PUT /applications/{application}/webhook

FieldRules
enabledRequired boolean.
providerRequired when enabled is true: github, gitlab or bitbucket.
secretOptional, 16 to 255 characters.
rotateOptional boolean: make a new secret.

Returns {"application": { … }, "webhook_registration": { … } | null}. The delivery endpoint itself, POST /webhooks/deploy/{identifier}, is open and checks a signature instead of a token (see Git deployment).

Container settings (Docker sites)

Every endpoint here answers 422 for a site that is not a Docker site.

PUT /applications/{application}/container

Applies the settings and recreates the container, so the site restarts. All fields optional; a field you do not send is left alone. A site that runs its own compose file refuses the fields the file owns.

FieldRules
container_port1 to 65535.
memory_limitNullable, up to 20 characters, a Docker memory value.
cpu_limitNullable, up to 16 characters, not above the host's CPUs.
docker_networkNullable, an existing network.
remove_previous_networkBoolean.
registry_idNullable, an existing registry credential. Changing it needs view on Docker Registries.
volume_mountsUp to 20 rows of {volume, path}.

Returns {"application": { … }}. A failure to apply answers 422 with message, step, reason and reference. A redeploy already running is 409.

POST /applications/{application}/container/pull

Pulls a newer image and recreates the container on it. Answers 202 with {"application": { … }, "redeploy": { … }}.

GET /applications/{application}/container/secrets

Returns {"secrets": { … }, "credentials": { … }}: the passwords the panel generated for the app. Needs manage on Container, not view, and is limited to 6 calls per minute. POST …/secrets/acknowledge records that you have saved them (the screen then hides its first-run card) and returns the application. The panel cannot rotate a generated credential, so store them when you first read them.

GET /applications/{application}/container/compose and PUT

GET returns {"compose": "…", "generated": true|false}. The file shows generated passwords in full, so reading it is part of the Compose File grant. PUT with {"compose": "<yaml>"} (up to 131072 characters) replaces it and recreates the container. A file the panel refuses answers 422 with message and reason.

GET /applications/{application}/container/access

Returns what a command-line ssh … docker exec line needs: host, ssh_port, project, containers, ssh_users and whether password login is on.

POST /applications/{application}/container/access and DELETE

Turns container sign-in on or off for the site's own system user. Needs manage on System Users. POST takes optional ssh_key (a public key, up to 16384 characters), password (the panel's password rules) and confirm_container_only. 422 when the site has no system user or is not a container.

Common errors

StatusMessage or cause
403Your role does not include management for Applications. (or the feature named in the permission table).
404Unknown application, domain or deployment id; or a screen the site type does not have.
409A container redeploy is already running.
422Validation: {"message": "…", "errors": {"field": ["…"]}}. Also "not a Docker application" and "not a Git application".
429Over the shared or per-endpoint limit; wait for Retry-After.
500{"message": "…", "reference": "…"}. Look the reference up in the error log.
503The site is installing or busy; try again shortly.

On this page

PermissionsEndpoint indexWhat the server can runGET /server/capabilitiesGET /site-typesGET /recipes and GET /recipes/{recipe}List applicationsGET /applicationsRead one applicationGET /applications/{application}GET /applications/{application}/sidebarCreate an applicationPOST /applicationsChange an applicationPUT /applications/{application}ActionsPOST /applications/{application}/provisionPOST /applications/{application}/process/{action}POST /applications/{application}/supervisor/convertPOST /applications/{application}/disable and /enablePOST /applications/{application}/directory-sizeGET /applications/port-checkDelete an applicationDELETE /applications/{application}Site type, web root, Node.js versionPOST /applications/{application}/detect-typePUT /applications/{application}/site-typePUT /applications/{application}/web-rootPUT /applications/{application}/node-versionGET /applications/{application}/root-lock and POSTDomainsGET /applications/{application}/domainsPOST /applications/{application}/domainsPUT /applications/{application}/domains/{domain}POST /applications/{application}/domains/{domain}/verifyPOST /applications/{application}/domains/{domain}/primaryDELETE /applications/{application}/domains/{domain}CertificateGET /applications/{application}/certificatePOST /applications/{application}/certificatePOST /applications/{application}/certificate/dry-run and GETPUT /applications/{application}/certificate/force-httpsDELETE /applications/{application}/certificateMagic Login (WordPress)Deployments (Git sites)GET /applications/{application}/deploymentsPOST /applications/{application}/deploymentsGET /applications/{application}/deployments/latest and /{deployment}POST /applications/{application}/deployments/{deployment}/redeployPUT /applications/{application}/deployment-settingsPUT /applications/{application}/git-accountPOST /applications/{application}/deployDeploy on pushPUT /applications/{application}/webhookContainer settings (Docker sites)PUT /applications/{application}/containerPOST /applications/{application}/container/pullGET /applications/{application}/container/secretsGET /applications/{application}/container/compose and PUTGET /applications/{application}/container/accessPOST /applications/{application}/container/access and DELETECommon errorsRelated