Autional Autional
API Reference GitHub autional.com →

DELETE /admin/point-rules/{id}

Admin operation. Soft-delete a points rule (set enabled=false). Does not physically delete the record. Calling again on a disabled rule returns 404.

Points Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Rule ID

Responses

StatusDescriptionSchema
200Deleted successfullygitee_com_linmes_authms_base_dto.SimpleResponse
400Bad requestgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthorizedgitee_com_linmes_authms_base_dto.SimpleResponse
403Forbiddengitee_com_linmes_authms_base_dto.SimpleResponse
404Rule not found or already disabledgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No