Deleting/Closing a user does not work

I'm making a call to: DELETE {baseurl}/accounts/{accountId}/users

Request body contains:

{"users":[{"email":"<an email>"}]}

Response: ERROR 400 Bad Request

{"errorCode": "INVALID_REQUEST_BODY",
"message": "The request body is missing or improperly formatted."}

What am I missing?

Answers


Please see the documentation for the correct parameter usage: https://www.docusign.com/p/RESTAPIGuide/RESTAPIGuide.htm#REST%20API%20References/Close%20a%20User.htm?Highlight=delete%20user

FYI I tested and a DELETE worked fine. I used the following JSON.

{
  "users":[{
    "userId":"7f7d3f01-9894-4479-9108-fee8c250xxxx"
  }]
}

I was able to "delete" the user using RestSharp. So it is an api explorer issue.


I just fixed this in the API explorer. Please try now and let me know in case you are still running into issues.


Need Your Help

Opacity is showing different shades on different pages

css css3 opacity rgba

I'm using opacity and it seems that it's showing as different shades on the pages I am using it on.

Best practise for repositioning absolutely positioned elements on window resize

javascript html css

I have many elements positioned absolutely in my page. What is the best practice method to re-adjust its position on window resize(all of them)?