Hook contract
- ctx: Context object.
- callback(error, { createMemberships: true/false, memberships: }): Callback to which you can return an error and an object containing the membership configuration.
Learn how to use the Memberships Query Hook with the Delegated Administration Extension.