def activate_role(self, role, **kwargs):
role_id = obj_or_id(role, "<STR_LIT>", (Role,))<EOL>response = self._requester.request(<EOL>'<STR_LIT:POST>',<EOL>'<STR_LIT>'.format(self.id, role_id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>return Role(self._requester, response.json())<EOL>
Reactivate an inactive role.

:calls: `POST /api/v1/accounts/:account_id/roles/:id/activate \
<https://canvas.instructure.com/doc/api/roles.html#method.role_overrides.activate_role>`_

:param role: The object or ID of the role.
:type role: :class:`canvasapi.account.Role` or int
:rtype: :class:`canvasapi.account.Role`