PUT members/:id
- 09 Sep 2024
- 1 Minute to read
- Print
- PDF
PUT members/:id
- Updated on 09 Sep 2024
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Put Member Id
Updates a member with a specified id.
URL (PUT)
/api/v1/members/:id
Parameters
None
Request Body
{
"firstName": "",
"lastName": "",
"password": "",
"username": "",
"memberRole": "root",
"mfa": false, (“MFA should only receive false argument)
"active": true/false,
"reinstate": true, (“false can also be used, but it wouldn’t change anything”)
"address1": null,
"address2": null,
"country": null,
"city": null,
"stateName": null,
"zip": null,
"phone": ""l
},
Response
{
"id": ####,
"subAccountId": ####,
"firstName": "",
"lastName": "",
"username": "",
"memberRole": "root",
"email": "",
"status": "active", (can have values: Active, Deactivated, Suspended, or Locked)
"mfa": false,
"imageUrl": null,
"creationDate": "2023-12-19T09:35:47.598+00:00",
"address1": null,
"address2": null,
"country": null,
"city": null,
"stateName": null,
"zip": null,
"phone": null
},