Allows you to update a Contact Group

POST {{baseUrl}}/ContactGroups/:ContactGroupID

Request Body

{"ContactGroups"=>[{"Name"=>"<string>", "Status"=>"<string>", "ContactGroupID"=>"<uuid>", "Contacts"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, {"Name"=>"<string>", "Status"=>"<string>", "ContactGroupID"=>"<uuid>", "Contacts"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}]}

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant
Content-Typestring

RESPONSES

status: OK

{&quot;Id&quot;:&quot;b1ba6cdb-1637-4209-bb92-bd0c593f3243&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1551746288544)/&quot;,&quot;ContactGroups&quot;:[{&quot;ContactGroupID&quot;:&quot;13f47537-7c1d-4e62-966e-617d76558fc5&quot;,&quot;Name&quot;:&quot;Supplier Vendor&quot;,&quot;Status&quot;:&quot;ACTIVE&quot;,&quot;Contacts&quot;:[],&quot;HasValidationErrors&quot;:false}]}