improvement: 관리자 기기 삭제/차단 API 추가 (#239) #240
No reviewers
SPMS/Owners
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#240
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "improvement/#239-device-admin-delete"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 작업 요약
POST /v1/in/device/admin/delete) 추가🔗 관련 이슈 (Related Issues)
Closes #239
🛠️ 작업 내용 (Changes)
SPMS.Application/Interfaces/IDeviceService.cs— AdminDeleteAsync(long deviceId) 추가SPMS.Application/Services/DeviceService.cs— AdminDeleteAsync 구현 (Device 조회 → IsActive=false → 토큰 캐시 무효화)SPMS.API/Controllers/DeviceController.cs— POST admin/delete [Authorize] 엔드포인트 추가📢 리뷰어 참고 사항 (To Reviewers)
POST /v1/in/device/delete(SDK/X-API-KEY 용도)는 변경 없이 유지✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)