Commands

Update command enabled state, alias, or permission group

patch/api/v1/commands/{command_id}

Path parameters

command_idstring required

URL-encoded command handler full name.

Request body

enabledboolean
aliasstring
aliasesstring[]
permission_groupstring

Response

Standard AstrBot success response

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

Changes