can GraphQl be used to invite users to your tenant...
# prefect-community
j
can GraphQl be used to invite users to your tenant?
k
Not really. There is a GraphQL endpoint here but the UI has a bunch of logic to handle it
j
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
Oh ok nice!