# 전체 캐시 삭제
curl -X POST https://api.sajuapi.dev/v1/cache/clear \
-H "X-API-Key: bs_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"type": "all",
"confirm": true
}'
# 특정 프로필 캐시만 삭제
curl -X POST https://api.sajuapi.dev/v1/cache/clear \
-H "X-API-Key: bs_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"type": "fortunes",
"profile_id": "prf_abc123def456",
"confirm": true
}'
# 특정 날짜의 운세 캐시 삭제
curl -X POST https://api.sajuapi.dev/v1/cache/clear \
-H "X-API-Key: bs_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"type": "fortunes",
"fortune_date": "2025-01-16",
"confirm": true
}'