Files
bsky-social-app/lexicons/com/atproto/admin/updateSubjectStatus.json
T
2026-08-13 12:26:12 -07:00

62 lines
1.6 KiB
JSON

{
"id": "com.atproto.admin.updateSubjectStatus",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"refs": [
"com.atproto.admin.defs#repoRef",
"com.atproto.repo.strongRef",
"com.atproto.admin.defs#repoBlobRef"
],
"type": "union"
},
"takedown": {
"ref": "com.atproto.admin.defs#statusAttr",
"type": "ref"
},
"deactivated": {
"ref": "com.atproto.admin.defs#statusAttr",
"type": "ref"
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"subject"
],
"properties": {
"subject": {
"refs": [
"com.atproto.admin.defs#repoRef",
"com.atproto.repo.strongRef",
"com.atproto.admin.defs#repoBlobRef"
],
"type": "union"
},
"takedown": {
"ref": "com.atproto.admin.defs#statusAttr",
"type": "ref"
}
}
},
"encoding": "application/json"
},
"description": "Update the service-specific admin status of a subject (account, record, or blob)."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}