View as Markdown
ServerAvatar icon

ServerAvatar ACTION

Create Application Domain

Add a new application domain for the application. See the docs here
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's ServerAvatar account once, then configure and run Create Application Domain from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "serveravatar-create-application-domain",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    serveravatar: { authProvisionId: "apn_xxxxxxx" },
    serverId: 10,
    applicationId: 10,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Application Domain inputs
Property Type Description
serverId Server Identifier integer
The unique identifier of the server where the application is being hosted.
Required Dynamic
applicationId Application Identifier integer
The unique identifier of the application.
Required Dynamic
domain Domain string

The additional domain/subdomain for your application.

Ex app.domain.com

Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
serveravatar-create-application-domain
Version
0.0.4
App
ServerAvatar
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes