@transactional<EOL><INDENT>def delete(self, params, args, data):<EOL><DEDENT>
ctx = self._create_context(params, args, data)<EOL>row_id = ctx.get_row_id()<EOL>if row_id is not None:<EOL><INDENT>return self._delete_one(row_id, ctx)<EOL><DEDENT>else:<EOL><INDENT>return self._delete_collection(ctx)<EOL><DEDENT>
DELETE /resource/model_cls/[params]?[args]

delete resource/s