cURL
curl --request POST \ --url https://yppncslmsswqydhhgygz.supabase.co/functions/v1/stop-poll \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "poll_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }'
{ "success": true }
Stop an active poll. Only the poll creator can stop their poll.
JWT token or API key
Successful response