当前位置: 首页>>代码示例>>Python>>正文


Python ApiClient.delete_path方法代码示例

本文整理汇总了Python中okta.framework.ApiClient.ApiClient.delete_path方法的典型用法代码示例。如果您正苦于以下问题:Python ApiClient.delete_path方法的具体用法?Python ApiClient.delete_path怎么用?Python ApiClient.delete_path使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在okta.framework.ApiClient.ApiClient的用法示例。


在下文中一共展示了ApiClient.delete_path方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: clear_session

# 需要导入模块: from okta.framework.ApiClient import ApiClient [as 别名]
# 或者: from okta.framework.ApiClient.ApiClient import delete_path [as 别名]
    def clear_session(self, id):
        """Terminate a session

        :param id: the target session id
        :rtype: Session
        """
        ApiClient.delete_path(self, '/{0}'.format(id))
开发者ID:MattParr,项目名称:oktasdk-python,代码行数:9,代码来源:SessionsClient.py

示例2: delete_app_instance

# 需要导入模块: from okta.framework.ApiClient import ApiClient [as 别名]
# 或者: from okta.framework.ApiClient.ApiClient import delete_path [as 别名]
    def delete_app_instance(self, id):
        """Delete app by target id

        :param id: the target app id
        :type id: str
        :return: None
        """
        ApiClient.delete_path(self, '/{0}'.format(id))
开发者ID:MattParr,项目名称:oktasdk-python,代码行数:10,代码来源:AppInstanceClient.py

示例3: reset_factor

# 需要导入模块: from okta.framework.ApiClient import ApiClient [as 别名]
# 或者: from okta.framework.ApiClient.ApiClient import delete_path [as 别名]
    def reset_factor(self, user_id, user_factor_id):
        """Reset an enrolled factor

        :param user_id: target user id
        :type user_id: str
        :param user_factor_id: target factor id
        :type user_factor_id: str
        :rtype: None
        """
        ApiClient.delete_path(self, '/{0}/factors/{1}'.format(user_id, user_factor_id))
开发者ID:okta,项目名称:oktasdk-python,代码行数:12,代码来源:FactorsClient.py

示例4: delete_group

# 需要导入模块: from okta.framework.ApiClient import ApiClient [as 别名]
# 或者: from okta.framework.ApiClient.ApiClient import delete_path [as 别名]
    def delete_group(self, gid):
        """Delete group by target id

        :param gid: the target group id
        :type gid: str
        :return: None
        """
        response = ApiClient.delete_path(self, '/{0}'.format(gid))
        return Utils.deserialize(response.text, UserGroup)
开发者ID:MattParr,项目名称:oktasdk-python,代码行数:11,代码来源:UserGroupsClient.py

示例5: delete_user

# 需要导入模块: from okta.framework.ApiClient import ApiClient [as 别名]
# 或者: from okta.framework.ApiClient.ApiClient import delete_path [as 别名]
    def delete_user(self, uid):
        """Delete user by target id

        :param uid: the target user id
        :type uid: str
        :return: None
        """
        response = ApiClient.delete_path(self, '/{0}'.format(uid))
        return Utils.deserialize(response.text, User)
开发者ID:okta,项目名称:oktasdk-python,代码行数:11,代码来源:UsersClient.py


注:本文中的okta.framework.ApiClient.ApiClient.delete_path方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。