Jessica Smith

    Jessica Smith

    4 months ago
    can GraphQl be used to invite users to your tenant?
    Kevin Kho

    Kevin Kho

    4 months ago
    Not really. There is a GraphQL endpoint here but the UI has a bunch of logic to handle it
    Jessica Smith

    Jessica Smith

    4 months ago
    Actually the graphQL mutation works fine, I got it to work with the below:
    mutation {
    createMembershipInvitation(
    input: {email: "<mailto:jessica.smith@test.com|jessica.smith@test.com>", role: TENANT_ADMIN}
    ) {
    id
    }
    }
    Kevin Kho

    Kevin Kho

    4 months ago
    Oh ok nice!