Class: LMSGraphQL::Mutations::Canvas::DeleteUserFromRootAccount
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::DeleteUserFromRootAccount
- 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
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lms_graphql/mutations/canvas/delete_user_from_root_account.rb', line 13 def resolve(account_id:, user_id:) context[:canvas_api].call("DELETE_USER_FROM_ROOT_ACCOUNT").proxy( "DELETE_USER_FROM_ROOT_ACCOUNT", { "account_id": account_id, "user_id": user_id }, {}, ).parsed_response end |