StarterTemplate ASP.NET Host

<back to all web services

RequestUserDelete

User service

The following routes are available for this service:
DELETE/service/api/v1/depts/{DeptId}/users/{Id}Deletes userThis operation just makes the current user inactive. To delete the user, select Setup\Security\Permanently Delete User. You must have the Delete privilege for Users to be able to delete users.
Parameters:
NameParameterData TypeRequiredDescription
DeptIdpathintYesThe ID of the department that includes the user profile
IdpathintYesThe ID of the user profile you need to delete

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/oneway/RequestUserDelete HTTP/1.1 
Host: rest.qacomplete.smartbear.com 
Content-Type: text/jsv
Content-Length: length

{
	dept_id: 0,
	id: 0
}