cURL
curl --request PUT \ --url https://api.example.com/editmember \ --header 'Content-Type: application/json' \ --data ' { "id": 123, "firstname": "<string>", "lastname": "<string>", "email": "<string>", "phone": "<string>", "status": "<string>" } '
{ "status": "success", "data": { "id": 42, "firstname": "Jane", "lastname": "Smith-Updated", "email": "jane@example.com", "status": "active" } }
Update an existing member’s details.
active
inactive
suspended