Mutations
withdrawHubInvitation
Withdraw hub invitation.
Template for Query:
mutation WithdrawHubInvitation($input: withdrawHubInvitationInput!){
withdrawHubInvitation(input: $input) {
#WithdrawHubInvitation Fields
}
}
Template for Query Variables:
{
"input" : "<SOME-WITHDRAWHUBINVITATION-INPUT-TYPE-SCALAR-VALUE>"
}
Arguments
input* withdrawHubInvitationInput non-null | Input object for withdrawing hub invitation to a member. |
* Required
Possible Returns
Value Type | Description |
---|---|
WithdrawHubInvitationPayload | Return payload on withdraw hub invitation operation. |
Examples
Example 1
Withdraw the sent invitation to the user.
Query:
mutation WithdrawHubInvitation($input: WithdrawHubInvitationInput! $pagination:PaginationInput) {
withdrawHubInvitation(input: $input) {
hub {
id,
members(pagination:$pagination){
results {
role
user {
id
}
}
}
}
}
}
Show More
Query Variables:
{
"input": {
"hubId": "urn:adsk.ace:beta.scope:e7c7f5a9-a88a-40b4-85f6-ba1454def997",
"emailAddress": "user1@yopmail.com"
},
"pagination":{
"cursor": "MH41"
}
Show More
} }
Response:
{
"data": {
"withdrawHubInvitation": {
"hub": {
"id": "urn:adsk.ace:beta.scope:e7c7f5a9-a88a-40b4-85f6-ba1454def997",
"members": {
"results": [
{
"role": "USER",
"user": {
"id": "5MF22T98KDZVCXAD"
}
},
{
"role": "GUEST",
"user": {
"id": "VM4JYMC4QEZRZWXK"
}
},
{
"role": "USER",
"user": {
"id": "B4PJ8ZH8KBCUSWJN"
}
},
{
"role": "USER",
"user": {
"id": "XV42K7XEJ3PG7626"
}
},
{
"role": "USER",
"user": {
"id": "MRJJXC4HNJFS2Y8W"
}
}
]
}
}
}
}
}
Show More