Home > @vsf-enterprise/epcc-api > AddressesEndpoints > deleteAddress

# AddressesEndpoints.deleteAddress() method

Deletes an address

Signature:

deleteAddress(context: ElasticPathIntegrationContext, params: DeleteCustomerAddressesParams | DeleteAccountAddressesParams): Promise<Record<string, never>>;

# Parameters

Parameter Type Description
context ElasticPathIntegrationContext An auto-generated value prepended to the method as a first parameter.
params DeleteCustomerAddressesParams | DeleteAccountAddressesParams An object which contains necessary properties for deleting a new address.

Returns:

Promise<Record<string, never>>