Skip to main content
PATCH
/
apps
/
rename
JavaScript
import Morphik from 'morphik';

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

const response = await client.cloud.renameApp({ new_name: 'new_name' });

console.log(response);
{}

Headers

authorization
string | null
X-Morphik-Admin-Secret
string | null

Query Parameters

app_id
string | null

Application ID to rename

app_name
string | null

Current application name to rename

new_name
string
required

New application name

Response

Successful Response

The response is of type Response Rename Cloud App Apps Rename Patch · object.