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