Skip to content

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 ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth 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 ​

ExceptionDescription
WSInvalidAuthTokenExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSInvalidParameterExceptionSee Error Definitions
WSSmartDirectoryNotFoundExceptionSee Error Definitions
WSSmartDirectoryServiceExceptionSee Error Definitions
WSUserNotConsentedExceptionSee Error Definitions
WSSmartDirectoryNotEnabledForCompanyExceptionSee Error Definitions
WSUserContactNotFoundExceptionSee Error Definitions
WSUserNotInSmartDirectoryExceptionSee Error Definitions
WSSmartDirectoryInactiveExceptionSee Error Definitions
WSAddressServiceExceptionSee Error Definitions
WSAddressAlreadyFullExceptionSee Error Definitions
WSContactNotFoundExceptionSee Error Definitions
WSNoAddressFieldsInDirectoryExceptionSee Error Definitions