Show examples in:
Retrieve a schema menu item

Returns

Returns a schema_menu_item resource object.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const schemaMenuItemId = 'uinr2zfqQLeCo_1O0-ao-Q';
const schemaMenuItem = await client.schemaMenuItems.find(schemaMenuItemId);
console.log(schemaMenuItem);
}
run();