Class: LMS::GraphQL::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



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

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