Skip to main content

userAddressDelete

Delete a user address permanently from the system.

Removes the specified address from the user's account. This action cannot be undone. Returns true if deletion was successful.

Possible errors:

  • ADDRESS_DELETE_ERROR: Failed to delete the user address in the backend service
  • ADDRESS_UNKNOWN_ERROR: Unknown error occurred during user address deletion
  • FORBIDDEN: Insufficient permissions to delete user addresses

AUTH: Role=[configuration.OWNER] OR (('user is authenticated') AND ('userId if present in input matches JWT'))

userAddressDelete(
input: UserAddressDeleteInput!
): Boolean!

Arguments

userAddressDelete.input ● UserAddressDeleteInput! non-null input

User address deletion data including address and user identifiers.

Contains both address ID and user ID to ensure proper ownership validation before deletion.

Type

Boolean scalar

The Boolean scalar type represents true or false.