// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package atproto

// schema: com.atproto.admin.deleteAccount

import (
	"context"

	"github.com/bluesky-social/indigo/lex/util"
)

// AdminDeleteAccount_Input is the input argument to a com.atproto.admin.deleteAccount call.
type AdminDeleteAccount_Input struct {
	Did string `json:"did" cborgen:"did"`
}

// AdminDeleteAccount calls the XRPC method "com.atproto.admin.deleteAccount".
func AdminDeleteAccount(ctx context.Context, c util.LexClient, input *AdminDeleteAccount_Input) error {
	if err := c.LexDo(ctx, util.Procedure, "application/json", "com.atproto.admin.deleteAccount", nil, input, nil); err != nil {
		return err
	}

	return nil
}
