Skip to main content

deleteICollectionRowByMarkerAndId

Delete a row from a collection.

Description​

Deletes a row by collection marker and row id. Resolves to true once the row is deleted. If the request fails, for example because the row doesn't exist, it resolves to an IError, or throws with isShell: false. Requires the collections.row.delete right.

.deleteICollectionRowByMarkerAndId(

,

);

Parameters schema​

Schema

marker(required): string
Marker of the collection.
example: "collection1"

id(required): number
ID of the collection row.
example: 12

Examples​

Minimal example​

const result = await IntegrationCollections.deleteICollectionRowByMarkerAndId('test_collection', 1);

Example response​

true