<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clear_incident(self, id, **kwargs):
 """Clear an incident. """

        resp = self._put(
            self._u(self._INCIDENT_ENDPOINT_SUFFIX, id, 'clear'),
            None,
            **kwargs
        )
        resp.raise_for_status()
        return resp