com.atproto.admin.updateSubjectStatus
Lexicon Version: 1
Definitions
Section titled “Definitions”Type: procedure
Update the service-specific admin status of a subject (account, record, or blob).
Parameters: (None defined)
Input:
- Encoding:
application/json - Schema:
Schema Type: object
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
subject | Union of:com.atproto.admin.defs#repoRefcom.atproto.repo.strongRefcom.atproto.admin.defs#repoBlobRef | ✅ | ||
takedown | com.atproto.admin.defs#statusAttr | ❌ | ||
deactivated | com.atproto.admin.defs#statusAttr | ❌ | ||
| Output: |
- Encoding:
application/json - Schema:
Schema Type: object
| Name | Type | Req’d | Description | Constraints |
|---|---|---|---|---|
subject | Union of:com.atproto.admin.defs#repoRefcom.atproto.repo.strongRefcom.atproto.admin.defs#repoBlobRef | ✅ | ||
takedown | com.atproto.admin.defs#statusAttr | ❌ |
Lexicon Source
Section titled “Lexicon Source”{ "lexicon": 1, "id": "com.atproto.admin.updateSubjectStatus", "defs": { "main": { "type": "procedure", "description": "Update the service-specific admin status of a subject (account, record, or blob).", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "subject" ], "properties": { "subject": { "type": "union", "refs": [ "com.atproto.admin.defs#repoRef", "com.atproto.repo.strongRef", "com.atproto.admin.defs#repoBlobRef" ] }, "takedown": { "type": "ref", "ref": "com.atproto.admin.defs#statusAttr" }, "deactivated": { "type": "ref", "ref": "com.atproto.admin.defs#statusAttr" } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "subject" ], "properties": { "subject": { "type": "union", "refs": [ "com.atproto.admin.defs#repoRef", "com.atproto.repo.strongRef", "com.atproto.admin.defs#repoBlobRef" ] }, "takedown": { "type": "ref", "ref": "com.atproto.admin.defs#statusAttr" } } } } } }}