Skip to main content
BluINFO

RemoveUser

Overview 

Deletes a single User that is already in the system. Returns Success/Error code.

Request Information


Method

POST - api/Person/RemoveUser

URI Parameters

None.

Body Parameters

RemoveUserViewModel

Name Description Type Additional information
UserId

Required: The PK of the existing User that you want to remove.

globally unique identifier

None.

RemovalDateTime

Optional: If null, User will be marked as deleted immediately. If populated, User will not be marked as deleted, but will have their EndDateTime set to this value.

date

None.

JSON

1{
2  "UserId": "b35d0e48-9de9-4a3e-b570-4bc6040a43ce",
3  "RemovalDateTime": "2016-12-13T23:32:19.0619349-05:00"
4}

XML

2  <RemovalDateTime>2016-12-13T23:32:19.0619349-05:00</RemovalDateTime>
3  <UserId>b35d0e48-9de9-4a3e-b570-4bc6040a43ce</UserId>
4</RemoveUserViewModel>

Response Information 


Resource Description

Result

Name Description Type Additional information
ResultCode

Represents the result code

integer

None.

Description

Represents a description of the result code

string

None.

Response Formats 

JSON

1{
2  "ResultCode": 1,
3  "Description": "sample string 2"
4}

XML

2  <Description>sample string 2</Description>
3  <ResultCode>1</ResultCode>
4</Result>
  • Was this article helpful?