RE: How can i delete objects from CLI if those are having dependencies?
Syntax: dicmd delete [-u userName -w userPassword] -p ProjectName [-l LayerName] [-g GroupName] [-o DOBJ|DATAPOINT|NSEQ|EXPR|UDF|DATASUBFLOW|DATAFLOW|DATASTREAM|JOBFLOW|DATACONNECT|SCHTASK|SCHCAL|SCHEMAIL|SCHFILE|SCHEVENT|SCHEDULER|PROJECTPARAMS] [-t NZ|TD|OR|FF|PG|DB|HV|MS|BI|CO|SF|HD|JS|HB|XD|SP|TW|FB|SK|JM|KK|CS|SY|SS|TS|SN|MY|BQ|RT|AV|PR|AZ|GC|RS|DR|AU|OF|DC|DX|ES|GA|GW|PS|MD|BS|AD] -n ObjectName [-c ConnNm] [-f ForceDelete]
-> If object is having dependency, “-f” argument should have values as “Yes” to Force Delete the object. It will delete the object along with dependent objects. (-f is Yes)
-> To delete using CURL command user should use “forcedelete=Yes” argument to Force delete the object.
e.g. curl “http://126.96.36.199:9600/diyotta-rest/delete?project=Project_Name&group=Group_Name&objecttype=DATAPOINT&dbtype=NETEZZA&object=SAMPLE_DP&forcedelete=Yes” -H “Authorization:Og0ayD/FXGZz64cmqiq90Q==”