Homepage

user_profiles_delete_all

Last edit: Nov 10, 2026

Deletes all legacy user profiles of a profile type, or of all types,
optionally only those of one user, and returns their count. Deprecated, use
records instead

user_profiles_delete_all(
  all_user_profile_types: Boolean
  user_id: Int
  user_profile_type_name: String
): ObjectCount!

Arguments

all_user_profile_types (Boolean)

Must be true to delete profiles of all profile types

user_id (Int)

Only delete the profiles of this user

user_profile_type_name (String)

Name of the profile type whose profiles are deleted

Type

ObjectCount

Result of a bulk operation

Questions?

We are always happy to help with any questions you may have.

contact us