asgs
asgs

Reputation: 3984

Docusign - API to reactivate a closed user

I've been able to reactivate a closed Docusign user from the Admin Console, but is there a REST API for that? The Users doc doesn't seem to mention this.

I know there's a similar question on this topic, but there was no resolution found yet. I'm posting this question again hoping that it gets the attention of Docusign people, as they recommend posting API-related questions on SO rather than their own support/community forums.

Also, if there's an API that does exist to recreate/reactivate a deleted user, please document it with clarity. Spelling out what each REST operation does and how it affects something are very important to developers who use such API.

Upvotes: 2

Views: 980

Answers (2)

Drew
Drew

Reputation: 5029

This is also possible to do via the UserId and an UpdateUsers call

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

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

Upvotes: 2

Praveen Reddy
Praveen Reddy

Reputation: 7383

You can reactivate the deleted user by passing the same user details to CreateUsers api.

Please note that the email/password/userName combination should match the user that was deleted.

Here is a sample request to the CreateUsers API.

{
  "newUsers": [
    {
      "email": "[email protected]",
      "password": "**********",
      "userName": "johnsmith"
    }
  ]
}

Upvotes: 1

Related Questions