Skip to main content

Get Subaccount Access List

curl --request POST 'https://api.beta.luxor.tech/graphql' \
--header 'Content-Type: application/json' \
--header 'x-lux-api-key: YOUR_API_KEY' \
--data-raw '{"query":"getSubaccounts{users(first: 10){nodes{username}}}"}'

Example

query getSubaccounts {
users(first: 10) {
nodes {
username
}
}
}

Response

{
"data": {
"users": {
"nodes": [
{
"username": ""
}
]
}
}
}

Arguments

uname (String!)

first (Int)

Only read the first n values of the set.

last (Int)

Only read the last n values of the set.

offset (Int)

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

before (Cursor)

Read all values in the set before (above) this cursor.

after (Cursor)

Read all values in the set after (below) this cursor.

filter (GetSubaccountAccessListRecordFilter)

A filter to be used in determining which values should be returned by the collection.

Type

GetSubaccountAccessListConnection

A connection to a list of GetSubaccountAccessListRecord values.