   {:ok, %GoogleApi.AndroidManagement.V1.Model.Empty{}} on success
   {:error, info} on failure
   """
-  @spec androidmanagement_enterprises_enrollment_tokens_delete(
-          Tesla.Env.client(),
-          String.t(),
-          keyword()
-        ) :: {:ok, GoogleApi.AndroidManagement.V1.Model.Empty.t()} | {:error, Tesla.Env.t()}
-  def androidmanagement_enterprises_enrollment_tokens_delete(
+  @spec androidmanagement_enterprises_policies_delete(Tesla.Env.client(), String.t(), keyword()) ::
+          {:ok, GoogleApi.AndroidManagement.V1.Model.Empty.t()} | {:error, Tesla.Env.t()}
+  def androidmanagement_enterprises_policies_delete(
         connection,
         name,
         optional_params \\ [],

    connection
    |> Connection.execute(request)
    |> Response.decode(opts ++ [struct: %GoogleApi.AndroidManagement.V1.Model.Empty{}])
  end

  @doc """

  end

  @doc """
  Deletes a policy. This operation is only permitted if no devices are currently referencing the policy.

  ## Parameters

  - connection (GoogleApi.AndroidManagement.V1.Connection): Connection to server
  - name (String.t): The name of the policy in the form enterprises/{enterpriseId}/policies/{policyId}.
  - optional_params (KeywordList): [optional] Optional parameters
    - :$.xgafv (String.t): V1 error format.
    - :access_token (String.t): OAuth access token.
