重新激活封闭的用户 [英] Reactivate a closed user

查看:80
本文介绍了重新激活封闭的用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在创建用户并通过REST API关闭用户。如果用户是封闭的,您如何通过REST或SOAP API响应他们?我在用户界面中看到您只是再次向他们发送了激活电子邮件,它重新激活了用户。您将如何通过API执行此操作?

We are creating users and closing them through the REST API. If a user is closed, how do you reactive them through the REST or SOAP api? I see in the UI you just Send them the activation email again and it re-actives the User. How would you do this through the API?

推荐答案

获取用户ID并按以下方式调用UpdateUsers API:

Get their User ID and call the UpdateUsers API as such:

PUT {VX}/accounts/{accountid}/users/

{
    "users": [{
        "userId": "00000000-0000-0000-0000-000000000000",
        "sendActivationEmail": "send"
    }]
}

这篇关于重新激活封闭的用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆