cURL
curl --request POST \ --url https://monitoring.safeturf.ai/api/applications/regenerate-link \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "token": "<string>" } '
Extend an expired magic-link token and re-send the invite email
curl -X POST "https://monitoring.safeturf.ai/api/applications/regenerate-link" \ -H "Content-Type: application/json" \ -d '{"token": "Xk9mP2qRvNzL..."}'
{ "message": "A new link has been sent to your email." }
200
404
409