@utilities.arguments_not_none<EOL><INDENT>def delete_asset_content(self, asset_content_id):<DEDENT>
<EOL>from dlkit.abstract_osid.id.primitives import Id as ABCId<EOL>from .objects import AssetContent<EOL>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>if not isinstance(asset_content_id, ABCId):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>asset = collection.find_one({'<STR_LIT>': ObjectId(asset_content_id.get_identifier())})<EOL>index = <NUM_LIT:0><EOL>found = False<EOL>for i in asset['<STR_LIT>']:<EOL><INDENT>if i['<STR_LIT>'] == ObjectId(asset_content_id.get_identifier()):<EOL><INDENT>asset_content_map = asset['<STR_LIT>'].pop(index)<EOL><DEDENT>index += <NUM_LIT:1><EOL>found = True<EOL><DEDENT>if not found:<EOL><INDENT>raise errors.OperationFailed()<EOL><DEDENT>AssetContent(<EOL>osid_object_map=asset_content_map,<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)._delete()<EOL>collection.save(asset)<EOL>
Deletes content from an ``Asset``.

        arg:    asset_content_id (osid.id.Id): the ``Id`` of the
                ``AssetContent``
        raise:  NotFound - ``asset_content_id`` is not found
        raise:  NullArgument - ``asset_content_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*