removeAstronomical(params: IRemoveAstronomicalParams)

Requires:
@ray-js/ray≥1.5.2

Description

Delete astronomical timer

Parameters

ParameterTypeRequiredDescription
YesRequest parameters

Return Value

Type: Promise<boolean>
Whether the astronomical timer was deleted successfully

Examples

Basic usage

import { removeAstronomical } from '@ray-js/ray';

removeAstronomical({ id: '8642566' }).then((response) => {
  console.log('Delete result:', response);
}).catch((err) => {
  console.error(err);
});