cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gschally
Engaged Sweeper

Hello,

We are trying to query our account with the below GraphQL, we get Grant Type Not Provided.  We can look up our account by querying all accounts for the site ID, but we just want our account and would rather not filter. The Postman collection contains a "Me" post, passign this GraphQL:

{
  me {
    id
    username
    email
    name
    surname
    fullName
    imageUrl
    language
  }
}
 
Thanks,
George
 
1 REPLY 1
DamienT
Engaged Sweeper

Try the following.

{
site(id: "Site ID Here") {
id
name
# other fields that are valid for the Site type
}
me {
id
username
email
name
surname
fullName
imageUrl
language
}
}

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now