Quick Menu
Mutation
addQuickMenuItem — Returns [QuickMenuItem]
Scopes Required: modify_users
| Arguments | Type | Description |
|---|---|---|
|
name |
String! |
The name of the menu item (what will be shown to the user) |
|
url |
String! |
The URL of the link |
|
user |
The user this link applies to |
|
|
external |
Boolean |
Whether this link is external or not |
Example Mutation
mutation AddQuickMenuItem($name: String!, $url: String!, $user: ID!) {
addQuickMenuItem(name: $name, url: $url, user: $user) {
id,
url,
name,
external
}
}
# Example variables
{
"name": "<NAME>",
"url": "<URL>",
"user": "<USER>"
}Mutation
removeQuickMenuItem — Returns [QuickMenuItem]
Scopes Required: modify_users
| Arguments | Type | Description |
|---|---|---|
|
id |
Int! |
The ID of the link to remove |
|
user |
The user the link is for |
Example Mutation
mutation RemoveQuickMenuItem($id: Int!, $user: ID!) {
removeQuickMenuItem(id: $id, user: $user) {
id,
url,
name,
external
}
}
# Example variables
{
"id": "<ID>",
"user": "<USER>"
}