curl を更新
14
curl.md
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
|
||||
|
||||
Reference in New Issue
Block a user