Skip to main content
POST
/
stop-poll
Stop an active poll
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
}

Authorizations

Authorization
string
header
required

JWT token or API key

Body

application/json
poll_id
string<uuid>
required

Response

Successful response

success
boolean
required