Get shield information barrier based on provided ID.
1910967
The ID of the shield information barrier.
Returns the shield information barrier object.
Returns a not_found
error if
the shield information barrier was not found.
An unexpected client error.
await client.shieldInformationBarriers.getShieldInformationBarrierById(
barrierId,
);
client.shield_information_barriers.get_shield_information_barrier_by_id(barrier_id)
await client.ShieldInformationBarriers.GetShieldInformationBarrierByIdAsync(shieldInformationBarrierId: barrierId);
try await client.shieldInformationBarriers.getShieldInformationBarrierById(shieldInformationBarrierId: barrierId)
const barrier = await client.shieldInformationBarriers.getById({
shield_information_barrier_id: 12345,
});
console.log(
`Shield information barrier id ${barrier.id}`
);
{
"id": "11446498",
"type": "shield_information_barrier",
"created_at": "2020-06-26T18:44:45.869Z",
"created_by": {
"id": "11446498",
"type": "user"
},
"enabled_at": "2020-07-26T18:44:45.869Z",
"enabled_by": {
"id": "11446498",
"type": "user"
},
"enterprise": {
"id": "1910967",
"type": "enterprise"
},
"status": "draft",
"updated_at": "2020-07-26T18:44:45.869Z",
"updated_by": {
"id": "11446498",
"type": "user"
}
}