Reactivate a closed user

2019-08-12 16:17发布

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?

标签: docusignapi
2条回答
甜甜的少女心
2楼-- · 2019-08-12 16:50

If you recreate the user with the same exact information, it will reopen the closed user and resend the activation.

See this answer https://stackoverflow.com/a/42035194/1219543

查看更多
Lonely孤独者°
3楼-- · 2019-08-12 16:51

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"
    }]
}
查看更多
登录 后发表回答