curl -X PATCH "https://api.usegately.com/api/v1/members/mem_abc123" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "full_name": "John Smith", "plan_id": "plan_enterprise", "metadata": { "upgraded_at": "2024-01-20" } }'
{ "success": true, "data": { "id": "mem_abc123", "email": "[email protected]", "full_name": "John Smith", "status": "active", "plan_id": "plan_enterprise", "metadata": { "company": "Acme Inc", "upgraded_at": "2024-01-20" }, "updated_at": "2024-01-20T16:00:00Z" } }
Update an existing member
active
inactive
pending
null
Was this page helpful?