From 7c34a098450609de0e958bef557077ff8cd07c18 Mon Sep 17 00:00:00 2001 From: syui Date: Sun, 23 Nov 2025 02:13:57 +0000 Subject: [PATCH] =?UTF-8?q?curl=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- curl.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/curl.md b/curl.md index ce428fd..8434b94 100644 --- a/curl.md +++ b/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