Ends in:
2 DAYS
15 HRS
14 MIN
1 SEC
Ends in:
2 D
15 H
14 M
1 S
Open Closed

Hard deleting a tenant and its data #3845


User avatar
0
luke created

I'm currently looking into the best way to fully delete a tenant, including user data, permissions, all the ABP/Identity data.

Are there any built-in methods, or should I be doing this manually?

Working with all tenants in a single database.


4 Answer(s)
  • User Avatar
    0
    mahmut.gundogdu created

    The Repository has a hard or soft delete function. https://docs.abp.io/en/abp/latest/Repositories#soft-hard-delete

  • User Avatar
    0
    luke created

    Yes, I'm aware of the repositories, my question is about deleting 'all' of the data for a tenant, not just the tenant row.

  • User Avatar
    0
    malik.masis created

    Hi Luke,

    ABP Framework provides all the infrastructure to create a multi-tenant application, but doesn't make any assumptions about how you manage (create, delete...) your tenants. [more]

    Could you let us know, please, if it isn't your answer?

  • User Avatar
    0
    luke created

    Yes. Thank you.

    I just wanted to make sure I'm not doing work I don't need to.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 02, 2024, 12:35