Network
Change Application Subdomain
Renames the vertraweb.app subdomain of an application that is already published on the web.
PATCH
Change Application Subdomain
string
required
The application ID.
string
If the application belongs to a workspace, the workspace’s ID. Required for workspace members acting on an application they don’t own.
string
required
The new subdomain, without the
.vertraweb.app suffix (e.g., myapp). Between 3 and 50
characters, matching ^[a-z0-9][a-z0-9-]*[a-z0-9]$ — lowercase letters, digits and hyphens, never
starting or ending with a hyphen.Response
object
This route only renames an existing subdomain. An application that was created without web
publishing answers
APP_HAS_NO_SUBDOMAIN — turn publishing on first with
Publish Application on the Web.Error Responses
string
The error code indicating the reason for the failure. Possible values:
VALIDATION_ERROR: The path parameter or the body failed validation (400). The response also carriesmessageandpath.AUTH_TOKEN_MISSING,API_KEY_INVALID,SESSION_REVOKED: TheAuthorizationheader is missing, the API key is invalid, or the dashboard session was revoked (401).API_KEY_IP_DENIED,API_KEY_SCOPE_DENIED: The API key is used from an IP outside its allowlist, or it lacks the scope the route requires (403).USER_NOT_FOUND: The authenticated user could not be resolved (401).ACCESS_DENIED: The user does not have permission to act on the application (403).PLAN_DOES_NOT_SUPPORT_CUSTOM_SUBDOMAIN: The owner’s plan does not allow choosing the subdomain name (403).APP_NOT_FOUND: The specified application does not exist (404).APP_HAS_NO_SUBDOMAIN: The application is not published on the web, so there is nothing to rename (400).INVALID_SUBDOMAIN_FORMAT: The value is not a valid subdomain after normalisation (400).SUBDOMAIN_FORBIDDEN: The requested subdomain is on the platform’s reserved list (400).SUBDOMAIN_TAKEN: Another application already uses that subdomain (409).SUBDOMAIN_CHANGE_RATE_LIMITED: The subdomain of this application was changed less than 5 minutes ago (429).INTERNAL_SERVER_ERROR: Unexpected failure (500).
string
A descriptive message providing additional details about the error.
This route has its own budget of 5 requests per minute, on top of the 5-minute cooldown between
changes to an application’s public address. That cooldown is shared with
Publish: publishing an application also starts
it, and unpublishing then republishing under a new name does not get around it. See
Rate Limiting.
Last modified on October 26, 2026