// 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/xrpc"
)

// 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 *xrpc.Client, input *AdminDeleteAccount_Input) error {
	if err := c.Do(ctx, xrpc.Procedure, "application/json", "com.atproto.admin.deleteAccount", nil, input, nil); err != nil {
		return err
	}

	return nil
}
