this repo has no description
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package atproto
4
5// schema: com.atproto.admin.updateAccountPassword
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/lex/util"
11)
12
13// AdminUpdateAccountPassword_Input is the input argument to a com.atproto.admin.updateAccountPassword call.
14type AdminUpdateAccountPassword_Input struct {
15 Did string `json:"did" cborgen:"did"`
16 Password string `json:"password" cborgen:"password"`
17}
18
19// AdminUpdateAccountPassword calls the XRPC method "com.atproto.admin.updateAccountPassword".
20func AdminUpdateAccountPassword(ctx context.Context, c util.LexClient, input *AdminUpdateAccountPassword_Input) error {
21 if err := c.LexDo(ctx, util.Procedure, "application/json", "com.atproto.admin.updateAccountPassword", nil, input, nil); err != nil {
22 return err
23 }
24
25 return nil
26}