- Get shield information barrier with specified ID
- Get all shield information barriers
- Update shield information barrier status
- Create shield information barrier
Get shield information barrier based on provided ID by shieldInformationBarriers.getById(options, callback)
method.
const barrier = await client.shieldInformationBarriers.getById({
shield_information_barrier_id: 12345,
});
console.log(
`Shield information barrier id ${barrier.id}`
);
Retrieves a list of shield information barrier objects for the enterprise of JWT by shieldInformationBarriers.getAll(options, callback)
method.
const result = await client.shieldInformationBarriers.getAll();
console.log(`There are ${result.entries.length} shield information barriers`);
Change status of shield information barrier with the specified ID. shieldInformationBarriers.changeStatusById(body, callback)
method.
const barrier = await client.shieldInformationBarriers.changeStatusById({
id: 12345,
status: 'pending',
});
console.log(
`Shield information barrier id ${barrier.id} status is ${barrier.status}`
);
Creates a shield information barrier to separate individuals/groups within the same firm and prevents confidential information passing between them.shieldInformationBarriers.create(options, callback)
method.
const barrier = await client.shieldInformationBarriers.create({
enterprise: {
id: '12345',
type: 'enterprise',
},
});
console.log(
`Shield information barrier id ${barrier.id} created`
);