Delete Generic Action#
Action |
Delete |
---|---|
title |
Delete instance with [pkid] |
method |
DELETE |
URL |
/api/<resource_type>/<resource_name>/[pkid]/ |
Parameters |
hierarchy=[hierarchy] |
Payload |
N/A |
support_async |
true |
Class |
delete |
Action |
Bulk Delete |
---|---|
Title |
Bulk delete [pkid1],[pkid2]… |
Method |
DELETE |
URL |
/api/<resource_type>/<resource_name>/ |
Parameters |
hierarchy=[hierarchy] |
Payload |
{“hrefs”:[“/api/<resource_type>/<resource_name>/[pkid1]”, “/api/<resource_type>/<resource_name>/[pkid2]”, …]} |
support_async |
true |
Class |
delete |
For the instance pkids [pkid1],[pkid2], … that can be added to the DELETE call payload (the instance pkids to delete), use to the GET call for the resource.
GET /api/<resource_type>/<resource_name>/
?hierarchy=sys
&format=json