router/api-router.go:103。controller.DeleteSelf,controller/user.go:966。account_security:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location --request DELETE '/api/user/self' \
--header 'X-Security-Proof;' \
--header 'Authorization: Bearer <token>'{
"data": {
"property1": "string",
"property2": "string"
},
"message": "string",
"success": true,
"property1": "string",
"property2": "string"
}