Appearance
deleteAddressForDirectoryContact ​
Deletes an existing Address for a Contact existing in a Directory. NOTE: If "Sync Up" enabled then address may update related addresses in User Profile and potentially other related Directories.
Request ​
http
DELETE /rest/smartdirectory/{directoryUUID}/contactRecord/addresses/{addressUUID}Headers ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
Path Params: directoryUUID - String. UUID of the Smart Directory as set up in SAM. addressUUID - String. UUID of a Contact Address. deleteAllLinked - boolean. When true forces the Address (if SYNC UP etc is enabled) to delete related addresses from User Profile or related Directories.
Response ​
200 OK ​
json
{
"errorCode":0,
"errorMsg":"OK"
}Errors ​
| Exception | Description |
|---|---|
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSInvalidParameterException | See Error Definitions |
WSSmartDirectoryNotFoundException | See Error Definitions |
WSSmartDirectoryServiceException | See Error Definitions |
WSUserNotConsentedException | See Error Definitions |
WSSmartDirectoryNotEnabledForCompanyException | See Error Definitions |
WSUserContactNotFoundException | See Error Definitions |
WSUserNotInSmartDirectoryException | See Error Definitions |
WSSmartDirectoryInactiveException | See Error Definitions |
WSAddressServiceException | See Error Definitions |
WSAddressAlreadyFullException | See Error Definitions |
WSContactNotFoundException | See Error Definitions |
WSNoAddressFieldsInDirectoryException | See Error Definitions |