Appearance
deleteXUserProfileField ​
Deletes a single eXtended User Profile field for an authenticated user.
Request ​
http
DELETE rest/user/xprofile-field/{userProfileFieldId}Headers ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
SAMPLE CURL COMMAND
curl --location --request DELETE 'http://localhost:8080/nextinteract-webapp/rest/user/xprofile-field/37'
--header 'x-nextinteract-authtoken: Tff2fLnrrGKCJosOL5O0ZA=='
--data ''
Response ​
200 OK ​
SUCCESS
json
{
"errorCode": 0,
"errorMsg": "OK"
}Errors ​
| Exception | Description |
|---|---|
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSUserServiceException | See Error Definitions |