ai/at
1
0

curl を更新

2025-11-23 02:13:57 +00:00
parent f4b8e2bf07
commit 7c34a09845

14
curl.md

@@ -68,6 +68,20 @@ curl -X POST -H "Content-Type: application/json" -d $json -sL $url
json="{\"email\": \"$email\", \"handle\": \"$handle\", \"password\": \"$password\",\"inviteCode\": \"$code\"}"
```
## delete
```sh
url=https://$host/xrpc/com.atproto.admin.disableAccountInvites
json="{\"account\":\"$did\"}"
echo $url
curl -X POST -u admin:${admin_password} -H "Content-Type: application/json" -d "$json" -sL $url
json="{\"did\":\"$did\"}"
url=https://$host/xrpc/com.atproto.admin.deleteAccount
echo $url
curl -X POST -u admin:${admin_password} -H "Content-Type: application/json" -d "$json" -sL $url
```
## login
```sh