curl を更新
parent
112f8ddfb1
commit
52d9dbbb7e
4
curl.md
4
curl.md
@ -421,7 +421,7 @@ $ curl -sL "https://syu.is/xrpc/com.atproto.repo.listRecords?repo=ai.syu.is&coll
|
|||||||
```sh
|
```sh
|
||||||
host=syu.is
|
host=syu.is
|
||||||
admin_password=xxx
|
admin_password=xxx
|
||||||
url=https://${host}/xrpc/com.atproto.admin.takeModerationAction
|
url=https://${host}/xrpc/com.atproto.admin.updateSubjectStatus
|
||||||
json="{\"action\": \"com.atproto.admin.defs#modEventReport\", \"subject\": {\"$type\": \"com.atproto.admin.defs#repoRef\", \"did\": \"did:plc:example\"}}"
|
json="{\"action\": \"com.atproto.admin.defs#authVerifier\", \"subject\": {\"$type\": \"com.atproto.admin.defs#repoRef\", \"did\": \"did:plc:example\"}}"
|
||||||
curl -X POST -u admin:${admin_password} -H "Content-Type: application/json" -d "$json" -sL $url
|
curl -X POST -u admin:${admin_password} -H "Content-Type: application/json" -d "$json" -sL $url
|
||||||
```
|
```
|
Loading…
x
Reference in New Issue
Block a user