DELETE api/v2/Users/{id}/UserContactItems/{contactInfoId}
Removes Contact Information from an existing User. Returns Success/Error code.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The PK of the existing User that you want to remove the Contact Item from |
globally unique identifier |
Required |
| contactInfoId |
Optional: The PK of the existing Contact Item that you want to remove the User. Possible values are in /Person/GetUserById. IF not provided, this will delete all the contact infos of the user |
globally unique identifier |
None. |
Body Parameters
None.
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
application/json, text/json
Sample:
{
"ResultCode": 1,
"Description": "sample string 2"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers"> <Description>sample string 2</Description> <HttpStatusCode>Continue</HttpStatusCode> <ResultCode>1</ResultCode> </Result>