Files
Printservice-REST/target/classes/examples/rest-cleanup-queue-older-than-days.curl.txt

5 lines
172 B
Plaintext

curl -X POST "http://localhost:8080/api/queue/cleanup?olderThanDays=30" \
-H "Content-Type: application/json" \
-H "X-Printservice-Token: YOUR_ADMIN_TOKEN" \
-d "{}"