Skip to main content
POST
/
servers
/
{qualifiedName}
/
transfer
JavaScript
import Smithery from '@smithery/api';

const client = new Smithery({
  apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});

const response = await client.servers.transfer('qualifiedName', {
  targetNamespace: 'my-team',
  targetOrganizationId: 'org_01H1234567890',
});

console.log(response.namespace);
{
  "success": true,
  "namespace": "<string>",
  "server": "<string>",
  "qualifiedName": "my-team/weather"
}

Authorizations

Authorization
string
header
required

Smithery API key as Bearer token

Path Parameters

qualifiedName
string
required

The server's qualified name (e.g. 'namespace/server' or 'namespace' for namespace-only servers). Use %2F to encode the slash.

Body

application/json
targetOrganizationId
string
required
Minimum string length: 1
Example:

"org_01H1234567890"

targetNamespace
string
required
Minimum string length: 1
Example:

"my-team"

targetSlug
string
Example:

"weather"

Response

Server transferred

success
boolean
required
namespace
string
required
server
string
required
qualifiedName
string
required
Example:

"my-team/weather"