https://prefect.io logo
Title
j

Jessica Smith

05/13/2022, 2:33 PM
can GraphQl be used to invite users to your tenant?
k

Kevin Kho

05/13/2022, 2:38 PM
Not really. There is a GraphQL endpoint here but the UI has a bunch of logic to handle it
j

Jessica Smith

05/13/2022, 7:27 PM
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
}
}
k

Kevin Kho

05/13/2022, 7:46 PM
Oh ok nice!