Skip to content

@mbanq/core-sdk-js v0.50.0


@mbanq/core-sdk-js / commands / DeleteDataTableProductMapping

Function: DeleteDataTableProductMapping() ​

DeleteDataTableProductMapping(id): Command<{ id: number; }, { id: number; resourceId: number; }>

Defined in: src/commands/rest/dataTable.ts:572

Delete entity data table product mapping by ID

Use this API to delete a specific mapping between an entity table, a data table, and product using its unique identifier. This API removes the mapping configuration for a given ID, which is useful for maintaining the integrity of data handling and business processes by ensuring that outdated or unnecessary mappings are removed.

Parameters ​

id ​

number

The unique identifier of the entity data table product mapping to delete

Returns ​

Command<{ id: number; }, { id: number; resourceId: number; }>

Command object that executes the API request and returns the deletion confirmation

Example ​

typescript
const result = await client.request(DeleteDataTableProductMapping(67));
console.log('Deleted mapping ID:', result.id);
console.log('Resource ID:', result.resourceId);

Released under the MIT License.