For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Swift: Delete a user

Examples

Removes a user

try await admin.deleteUser(
  id: UUID(uuidString: "715ed5db-f090-4b8c-a067-640ecee36aa0")!
)

Soft-delete a user

try await admin.deleteUser(
  id: UUID(uuidString: "715ed5db-f090-4b8c-a067-640ecee36aa0")!,
  softDelete: true
)