Cancel a study
client.viewer.studies.cancel(StudyCancelParams { studyId, studyInstanceUid } body?, RequestOptionsoptions?): StudyCancelResponse { success, message }
/v1/viewer/studies/cancel
Marks a study as cancelled. Cancelled studies are preserved but flagged as inactive. Can be identified by either study ID or DICOM Study Instance UID.
Parameters
Returns
Cancel a study
import Avara from 'avara';
const client = new Avara({
apiKey: process.env['AVARA_API_KEY'], // This is the default and can be omitted
});
const response = await client.viewer.studies.cancel();
console.log(response.success);
{
"success": true,
"message": "message"
}
Returns Examples
{
"success": true,
"message": "message"
}