D2lvalenceElixir.Utils.Service.delete_user

You're seeing just the function delete_user, go back to D2lvalenceElixir.Utils.Service module for more information.
Link to this function

delete_user(user_context, user_id, options \\ [])

View Source

Specs

delete_user(
  %D2lvalenceElixir.Auth.D2LUserContext{
    anonymous: term(),
    app_id: term(),
    app_key: term(),
    encrypt_requests: term(),
    host: term(),
    scheme: term(),
    server_skew: term(),
    user_id: term(),
    user_key: term()
  },
  String.t(),
  %{serializers: map() | %{}, body: map() | %{}, ver: String.t()}
) :: {:error, String.t()} | {:ok, any()}

Deletes the user with the user_id.

Returns

{:error, cause} when an error is caused.

{:ok, body_parsed} the body_parsed depends on the available serializers.

Parameters

supported_version_request_list must be a list of %D2lvalenceElixir.Data.SupportedVersionRequest{}

Options

serializers: Map of availaber serializers. application/json recommended. body: Options to pass to the body of the request.