Sessions

Delete one or more session rules

Changed on

Required scope: data

post/api/v1/sessions/rules/delete

Request

  • Base URL
    http://localhost:6185
  • URL
    http://localhost:6185/api/v1/sessions/rules/delete
  • Auth
    API key in header X-API-Key

Request body

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

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes