curl -X PUT "https://api.us.nylas.com/v3/lists/<LIST_ID>" \
-H "Authorization: Bearer <NYLAS_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"name": "Blocked domains (updated)",
"description": "Updated description."
}'
Sign in and select an app and grant, then add any required auth token, to auto-fill these placeholders with your real values.