# Generated by `mix github.gen` from docs/github-api/api.github.com.json.
# Do not edit by hand; re-run the task instead.
defmodule Noizu.Github.Api.Credentials do
@moduledoc """
GitHub `credentials` API.
"""
import Noizu.Github
@doc """
Revoke a list of credentials
@see https://docs.github.com/rest/credentials/revoke#revoke-a-list-of-credentials
"""
def revoke(body, options \\ nil) do
url = github_base() <> "/credentials/revoke"
body = body
api_call(:post, url, body, Noizu.Github.Raw, options)
end
end