cURL
curl --request POST \ --url https://localhost:5000/configurations/time/set \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "mockTime": "<string>" } '
{ "success": true, "message": "Set the system time to 2024-10-01 10:00:00 successfully" }
Set the system mock time for testing purposes
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Mock time in format: 2024-10-01 10:00:00
Mock time set successfully
true
"Set the system time to 2024-10-01 10:00:00 successfully"