From 52d9dbbb7eda4293609c9ee2f4fb41810e52b391 Mon Sep 17 00:00:00 2001 From: syui Date: Wed, 23 Apr 2025 01:53:34 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curl.md b/curl.md index 31f099a..c71035c 100644 --- a/curl.md +++ b/curl.md @@ -421,7 +421,7 @@ $ curl -sL "https://syu.is/xrpc/com.atproto.repo.listRecords?repo=ai.syu.is&coll ```sh host=syu.is admin_password=xxx -url=https://${host}/xrpc/com.atproto.admin.takeModerationAction -json="{\"action\": \"com.atproto.admin.defs#modEventReport\", \"subject\": {\"$type\": \"com.atproto.admin.defs#repoRef\", \"did\": \"did:plc:example\"}}" +url=https://${host}/xrpc/com.atproto.admin.updateSubjectStatus +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 ``` \ No newline at end of file