Updating a Group Owner

Using the PUT method, you can update the settings for an existing Group Owner.

PUT https://edgeapi.marchex.io/marketingedge/v5/api/groupowners/{groupownerId}

The following sample request can be used to update a Group Owner:

curl -H "x-organization-token: {authorization_token}" \
      -H "subscription-key: {subscription_key}" \
     	-X PUT \
     	"https://edgeapi.marchex.io/marketingedge/v5/api/groupowners/11623258" \
     	-d '{
          "name": "Marchex",
          "address": "2645 Skymark Ave",
          "suite": "202",
          "city": "Seattle",
          "state": "WA",
          "zip": "98101",
          "client_id": "a25dd83a-171e-428f-b10f-b4fa66eec83b",
          "phone": "1231231234",
          "ext": "+1",
          "fax": "1231234321",
          "email": "[email protected]",
          "contact_name": "",
          "custom_text": "Custom Text 1",
          "custom_text2": "Custom Text 2",
          "custom_flag": true,
          "reactivate": false
				}'

If the request is handled successfully, the following response will be returned:

{
  "id": 1,
  "name": "Marchex",
  "status": "active",
  "address": "2645 Skymark Ave",
  "suite": "202",
  "city": "Seattle",
  "state": "WA",
  "zip": "98101",
  "client_id": "73f5f166-e983-4281-8f1d-b664247ece0c",
  "phone": "1231231234",
  "ext": "+1",
  "fax": "1231234321",
  "email": "[email protected]",
  "contact_name": "",
  "custom_text": "Custom Flag 1",
  "custom_text2": "Custom Flag 2",
  "custom_flag": true,
  "reactivate": false,
  "created_datetime": "2020-06-10T17:59:42.9800928Z",
  "modified_datetime": "2020-06-10T17:59:42.980Z"
}