Class: LMSGraphQL::Mutations::Canvas::DeleteUserFromRootAccount

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, user_id:) ⇒ Object



10
11
12
13
14
15
16
17
18
# File 'lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb', line 10

def resolve(account_id:, user_id:)
  ctx[:canvas_api].proxy(
    "DELETE_USER_FROM_ROOT_ACCOUNT",
    {
      "account_id": ,
      "user_id": user_id            },
    nil,
  ).parsed_response
end