def delete_activity(self, activity_id=None):
if activity_id is None:<EOL><INDENT>raise NullArgument()<EOL><DEDENT>if not isinstance(activity_id, Id):<EOL><INDENT>raise InvalidArgument('<STR_LIT>')<EOL><DEDENT>url_path = construct_url('<STR_LIT>',<EOL>bank_id=self._catalog_idstr,<EOL>act_id=activity_id)<EOL>result = self._delete_request(url_path)<EOL>return objects.Activity(result)<EOL>
Deletes the Activity identified by the given Id.

        arg:    activityId (osid.id.Id): the Id of the Activity to
                delete
        raise:  NotFound - an Activity was not found identified by the
                given Id
        raise:  NullArgument - activityId is null
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        compliance: mandatory - This method must be implemented.