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);curl https://api.morphik.ai/apps/rename \
-X PATCH \
-H "Authorization: Bearer $MORPHIK_API_KEY"{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API Reference
Rename Cloud App
Rename an existing cloud application.
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);curl https://api.morphik.ai/apps/rename \
-X PATCH \
-H "Authorization: Bearer $MORPHIK_API_KEY"{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Query Parameters
Application ID to rename
Current application name to rename
New application name
Response
Successful Response
The response is of type Response Rename Cloud App Apps Rename Patch · object.
Was this page helpful?

