I wanted to delete a user from docuSign, I have tried few steps below,
This returns all the users info from Docusign : 1.GET https://{{hostenv}}/restapi/{{apiVersion}}/accounts/1119416/users?additional_info=true
This returns single user info :
2.GET https://{{hostenv}}/restapi/{{apiVersion}}/accounts/1119416/[email protected]
Response :
{
"users": [
{
"userName": "Ravi -DocuSign API test",
"userId": "2a441d45-ffc6-4f66-9383-816d0c11fda6",
"userType": "CompanyUser",
"isAdmin": "False",
"userStatus": "Active",
"uri": "/users/2a441d45-ffc6-4f66-9383-816d0c11fda6",
"email": "[email protected]",
"createdDateTime": "2017-09-22T17:16:54.0670000Z",
"permissionProfileId": "869172",
"permissionProfileName": "DocuSign Sender"
}
],
"resultSetSize": "1",
"totalSetSize": "1",
"startPosition": "0",
"endPosition": "0"
}
My challenge here is to DELETE this user with REST API CALL?
I am trying to use :
DELETE https://{{hostenv}}/restapi/{{apiVersion}}/accounts/1119416/users/2a441d45-ffc6-4f66-9383-816d0c11fda6
But i am getting response as :
404 The URL provided does not resolve to a resource.
Please help me to resolve this problem.