DELETE Users
Deletes the given user. The user to delete cannot be in the Owner role. Also, the user making this request cannot delete their own account.
Request Information
URI Parameters
None.
Body Parameters
User to be deleted
UserName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
UserName | string |
None. |
|
FullName | string |
None. |
|
PhoneNumber | string |
None. |
|
string |
None. |
||
IsLockedOut | boolean |
None. |
|
IsApproved | boolean |
None. |
|
Role | Role |
None. |
|
CompanyId | globally unique identifier |
None. |
|
Teams | Collection of Team |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "9500ac13-96d4-4477-a3da-108bfb0c06a1", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "eab3a097-88e9-4bea-b82a-ac2d9aa02f33", "Teams": [ { "TeamId": "22a3899b-0a1c-4faf-8d8a-9896e9d6bd3c", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "dcec1706-bd3a-4741-9e17-a2672a1174fc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:51:24.8741136-08:00", "MeasurementValueNeededDate": "2024-12-22T02:51:24.8741136-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e41cb1c5-5a81-42cc-9abf-1a418990383c", "CreateDate": "2024-12-22T02:51:24.8741136-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:51:24.8741136-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "dcec1706-bd3a-4741-9e17-a2672a1174fc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:51:24.8741136-08:00", "MeasurementValueNeededDate": "2024-12-22T02:51:24.8741136-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e41cb1c5-5a81-42cc-9abf-1a418990383c", "CreateDate": "2024-12-22T02:51:24.8741136-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:51:24.8741136-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "085d21b5-de3c-4a8b-96b5-e85f49596c1b", "CreateDate": "2024-12-22T02:51:24.8741136-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:51:24.8741136-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "22a3899b-0a1c-4faf-8d8a-9896e9d6bd3c", "Name": "sample string 1", "Description": "sample string 2", "Users": [], "AssetGroups": [ { "AssetGroupId": "dcec1706-bd3a-4741-9e17-a2672a1174fc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:51:24.8741136-08:00", "MeasurementValueNeededDate": "2024-12-22T02:51:24.8741136-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e41cb1c5-5a81-42cc-9abf-1a418990383c", "CreateDate": "2024-12-22T02:51:24.8741136-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:51:24.8741136-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "dcec1706-bd3a-4741-9e17-a2672a1174fc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-22T02:51:24.8741136-08:00", "MeasurementValueNeededDate": "2024-12-22T02:51:24.8741136-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e41cb1c5-5a81-42cc-9abf-1a418990383c", "CreateDate": "2024-12-22T02:51:24.8741136-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:51:24.8741136-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "085d21b5-de3c-4a8b-96b5-e85f49596c1b", "CreateDate": "2024-12-22T02:51:24.8741136-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:51:24.8741136-08:00", "LastModifiedUser": "sample string 6" } ] }
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Data | Object |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": {}, "Total": 1, "Message": "sample string 2" }