Athena
V2SupabaseSsl_enforcement

Toggle Supabase SSL enforcement for a project

POST
/api/v2/supabase/ssl_enforcement

Request Body

application/json

enabled*boolean

Set to true to enable SSL enforcement, false to disable

access_token?string

Optional override for SUPABASE_ACCESS_TOKEN

project_ref?string

Optional override for PROJECT_REF

Response Body

application/json

curl -X POST "https://athena-cluster.com/api/v2/supabase/ssl_enforcement" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{
  "status": "success",
  "message": "string",
  "data": {
    "currentConfig": {
      "database": true
    },
    "appliedSuccessfully": true
  }
}
Empty
Empty