DELETE api/users/{id}?scheduledDate={scheduledDate}&assignUserID={assignUserID}
Deletes or deactivates a user based on the provided user ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ID of the user to be deleted or deactivated. |
integer |
Required |
| scheduledDate |
Optional. A scheduled date for deletion (if applicable). |
string |
None. |
| assignUserID |
Optional. The ID of the user to whom responsibilities may be reassigned. |
integer |
Default value is -1 |
Body Parameters
None.
Response Information
Resource Description
On success: HTTP 200 OK indicating the user was deleted or deactivated. On failure: HTTP 400 Bad Request if the operation could not be completed.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/scim+json
Sample:
Sample not available.