v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0223257199.4 KB
Sessions

Delete one or more session rules

Required scope: data

post/api/v1/sessions/rules/delete

Request body

umostring
umosstring[]
scope'all' | 'group' | 'private' | 'custom_group'
group_idstring
rule_keystring

Response

Standard AstrBot success response

status'ok' required
messagestring
{"stackTrail":"components:schemas:SuccessEnvelope:properties:data","oasType":"schema","type":"unknown"}